Part Number Hot Search : 
U637256 K4070 00BGI 1327M2 2SD2544 81220 4HC15 B4008
Product Description
Full Text Search
 

To Download SX1212 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  SX1212 transceiver ultra-low power integrated 300-510mhz transceiver advanced communications & sensing rev 2 ? june 18th, 2009 page 1 of 77 www.semtech.com general description the SX1212 is a low cost single-chip transceiver operating in the frequency ranges from 300mhz to 510mhz. the SX1212 is optimized for very low power consumption (3ma in receiver mode). it incorporates a baseband modem with data rates up to 150 kb/s. data handling features include a sixty-four byte fifo, packet handling, automatic crc generation and data whitening. its highly integrated architecture allows for minimum external component count whilst maintaining design flexibility. all major rf communication parameters are programmable and most of them may be dynamically set. it complies with european (etsi en 300-220 v2.1.1) and north american (fcc part 15.247 and 15.249) regulatory standards. ordering information table 1: ordering information part number delivery minimum order quantity / multiple SX1212iwltrt tape & reel 3000 pieces ? tqfn-32 package ? operating range [-40;+85c] ? t refers to lead free packaging ? this device is weee and rohs compliant features ? low rx power consumption: 3ma ? low tx power consumption: 25 ma @ +10 dbm ? good reception sensitivity: down to -104 dbm at 25 kb/s in fsk, -110 dbm at 2kb/s in ook ? programmable rf output power: up to +12.5 dbm in 8 steps ? packet handling feature with data whitening and automatic crc generation ? rssi (received signal strength indicator) ? bit rates up to 150 kb/s, nrz coding ? on-chip frequency synthesizer ? fsk and ook modulation ? incoming sync word recognition ? built-in bit-synchronizer for incoming data and clock synchronization and recovery ? 5 x 5 mm tqfn package ? optimized circuit configuration for low-cost applications applications ? wireless alarm and security systems ? wireless sensor networks ? automated meter reading ? home and building automation ? industrial monitoring and control ? remote wireless control ? active rfid phy application circuit schematic
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 2 of 77 www.semtech.com table of contents 1. general description ................................................................... 5 1.1. simplified block diagram ................................................... 5 1.2. pin diagram ....................................................................... 6 1.3. pin description ................................................................... 7 2. electrical characteristics ............................................................ 8 2.1. esd notice ........................................................................ 8 2.2. absolute maximum ratings ............................................... 8 2.3. operating range ............................................................... 8 2.4. chip specification .............................................................. 8 2.4.1. power consumption .................................................. 8 2.4.2. frequency synthesis ................................................. 9 2.4.3. transmitter ................................................................ 9 2.4.4. receiver .................................................................. 10 2.4.5. digital specification ................................................. 11 3. architecture description ........................................................... 12 3.1. power supply strategy .................................................... 12 3.2. frequency synthesis description .................................... 13 3.2.1. reference oscillator ................................................ 13 3.2.2. clkout output ...................................................... 13 3.2.3. pll architecture ...................................................... 14 3.2.4. pll tradeoffs.......................................................... 14 3.2.5. voltage controlled oscillator ................................... 15 3.2.6. pll loop filter ........................................................ 16 3.2.7. pll lock detection indicator .................................. 16 3.2.8. frequency calculation ............................................ 16 3.3. transmitter description ................................................... 18 3.3.1. architecture description .......................................... 18 3.3.2. bit rate setting ....................................................... 19 3.3.3. alternative settings ................................................. 19 3.3.4. fdev setting in fsk mode ...................................... 19 3.3.5. fdev setting in ook mode ..................................... 19 3.3.6. interpolation filter ................................................... 20 3.3.7. power amplifier ....................................................... 20 3.3.8. common input and output front-end ..................... 22 3.4. receiver description ........................................................ 23 3.4.1. architecture ............................................................. 23 3.4.2. lna and first mixer ................................................ 24 3.4.3. if gain and second i/q mixer................................. 24 3.4.4. channel filters ........................................................ 24 3.4.5. channel filters setting in fsk mode ...................... 25 3.4.6. channel filters setting in ook mode ..................... 26 3.4.7. rssi ........................................................................ 26 3.4.8. fdev setting in receive mode ................................ 28 3.4.9. fsk demodulator .................................................... 28 3.4.10. ook demodulator ................................................. 28 3.4.11. bit synchronizer .................................................... 31 3.4.12. alternative settings ............................................... 32 3.4.13. data output ........................................................... 32 4. operating modes...................................................................... 33 4.1. modes of operation ......................................................... 33 4.2. digital pin configuration vs. chip mode .......................... 33 5. data processing ....................................................................... 34 5.1. overview .......................................................................... 34 5.1.1. block diagram ......................................................... 34 5.1.2. data operation modes ............................................ 34 5.2. control block description ................................................ 35 5.2.1. spi interface ........................................................... 35 5.2.2. fifo ........................................................................ 38 5.2.3. sync word recognition ........................................... 39 5.2.4. packet handler ........................................................ 40 5.2.5. control ......................................................................40 5.3. continuous mode .............................................................41 5.3.1. general description .................................................41 5.3.2. tx processing ..........................................................41 5.3.3. rx processing ..........................................................42 5.3.4. interrupt signals mapping ........................................42 5.3.5. uc connections ........................................................43 5.3.6. continuous mode example ......................................43 5.4. buffered mode ..................................................................44 5.4.1. general description .................................................44 5.4.2. tx processing ..........................................................44 5.4.3. rx processing ..........................................................45 5.4.4. interrupt signals mapping ........................................46 5.4.5. uc connections ........................................................47 5.4.6. buffered mode example ...........................................47 5.5. packet mode .....................................................................49 5.5.1. general description .................................................49 5.5.2. packet format ..........................................................49 5.5.3. tx processing ..........................................................51 5.5.4. rx processing ..........................................................51 5.5.5. packet filtering ........................................................52 5.5.6. dc-free data mechanisms ......................................53 5.5.7. interrupt signal mapping ..........................................54 5.5.8. uc connections ........................................................55 5.5.9. packet mode example .............................................56 5.5.10. additional information ............................................56 6. configuration and status registers ..........................................58 6.1. general description..........................................................58 6.2. main configuration register - mcparam ..........................58 6.3. interrupt configuration parameters - irqparam ..............60 6.4. receiver configuration parameters - rxparam ...............62 6.5. sync word parameters - syncparam .............................63 6.6. transmitter parameters - txparam .................................64 6.7. oscillator parameters - oscparam .................................64 6.8. packet handling parameters ? pktparam ......................65 7. application information .............................................................66 7.1. crystal resonator specification .......................................66 7.2. software for frequency calculation .................................66 7.2.1. gui ...........................................................................66 7.2.2. .dll for automatic production bench .........................66 7.3. switching times and procedures .....................................66 7.3.1. optimized receive cycle .........................................67 7.3.2. optimized transmit cycle ........................................68 7.3.3. transmitter frequency hop optimized cycle ..........69 7.3.4. receiver frequency hop optimized cycle ..............70 7.3.5. rx ? tx and tx ? rx jump cycles ............................71 7.4. reset of the chip ..............................................................72 7.4.1. por .........................................................................72 7.4.2. manual reset ...........................................................72 7.5. reference design .............................................................73 7.5.1. application schematic ..............................................73 7.5.2. pcb layout ..............................................................73 7.5.3. bill of material ..........................................................74 8. packaging information ..............................................................75 8.1. package outline drawing .................................................75 8.2. pcb land pattern .............................................................75 8.3. tape & reel specification ................................................76 9. revision history ........................................................................77 10. contact information .................................................................77
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 3 of 77 www.semtech.com index of figures figure 1: SX1212 simplified block diagram .................................. 5 figure 2: SX1212 pin diagram ...................................................... 6 figure 3: SX1212 detailed block diagram .................................. 12 figure 4: power supply breakdown ............................................. 13 figure 5: frequency synthesizer description .............................. 14 figure 6: lo generator ................................................................ 14 figure 7: loop filter ..................................................................... 16 figure 8: transmitter architecture ............................................... 18 figure 9: i(t), q(t) overview ......................................................... 18 figure 10: pa control ................................................................... 21 figure 11: optimal load impedance chart .................................. 21 figure 12: recommended pa biasing and output matching ..... 22 figure 13: front-end description ................................................. 22 figure 14: receiver architecture ................................................. 23 figure 15: fsk receiver setting ................................................. 23 figure 16: ook receiver setting ................................................ 23 figure 17: active channel filter description ................................ 24 figure 18: butterworth filter's actual bw .................................... 26 figure 19: polyphase filter's actual bw ...................................... 26 figure 20: rssi dynamic range ................................................. 27 figure 21: rssi irq timings ...................................................... 28 figure 22: ook demodulator description ................................... 29 figure 23: floor thre shold optimization ...................................... 30 figure 24: bitsync description ..................................................... 31 figure 25: SX1212?s data processing conceptual view ............. 34 figure 26: spi interface overview and uc connections ............. 35 figure 27: write register sequence ............................................ 36 figure 28: read register sequence ............................................ 37 figure 29: write bytes sequence (ex: 2 bytes) ........................... 37 figure 30: read bytes sequence (ex: 2 bytes) ........................... 38 figure 31: fifo and shift register (sr)...................................... 38 figure 32: fifo threshold irq source behavior ........................ 39 figure 33: sync word recognition ...............................................40 figure 34: continuous mode conceptual view .............................41 figure 35: tx processing in continuous mode .............................41 figure 36: rx processing in continuous mode .............................42 figure 37: uc connections in continuous mode ..........................43 figure 38: buffered mode conceptual view .................................44 figure 39: tx processing in buffered mode (fifo size = 16, tx_start_irq_0=0) ...............................................................45 figure 40: rx processing in buffered mode (fifo size=16, fifo_fill_method=0) .............................................................46 figure 41: uc connections in buffered mode ...............................47 figure 42: packet mode conceptual view ....................................49 figure 43: fixed length packet format ........................................50 figure 44: variable length packet format ...................................51 figure 45: crc implementation ...................................................53 figure 46: mancheste r encoding/decoding ..................................54 figure 47: data whitening ............................................................54 figure 48: uc connections in packet mode .................................55 figure 49: optimized rx cycle .....................................................67 figure 50: optimized tx cycle......................................................68 figure 51: tx hop cycle ...............................................................69 figure 52: rx hop cycle ...............................................................70 figure 53: rx ? tx ? rx cycle ...................................................71 figure 54: por timing diagram ...................................................72 figure 55: manual reset timing diagram ....................................72 figure 56: reference design circuit schematic ...........................73 figure 57: reference design?s stackup .......................................74 figure 58: reference design layout (top view)............................74 figure 59: package outline drawing ............................................75 figure 60: pcb land pattern ........................................................75 figure 61: tape & reel dimensions .............................................76
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 4 of 77 www.semtech.com index of tables table 1: ordering information ........................................................ 1 table 2: SX1212 pinouts ............................................................... 7 table 3: absolute maximum ratings ............................................. 8 table 4: operating range .............................................................. 8 table 5: power consumption specification ................................... 8 table 6: frequency synthesizer specification ............................... 9 table 7: transmitter specification ................................................. 9 table 8: receiver specification .................................................... 10 table 9: digital specification ........................................................ 11 table 10: mcparam_freq_band setting ..................................... 15 table 11: pa rise/fall times ....................................................... 20 table 12: operating modes ......................................................... 33 table 13: pin configuration vs. chip mode ................................. 33 table 14: data operation mode selection ................................... 35 table 15: config vs. data spi interface selection ....................... 36 table 16: status of fifo when switching between different modes of the chip ............................................................. 39 table 17: interrupt mapping in continuous rx mode .................. 42 table 18: interrupt mapping in continuous tx mode ................... 42 table 19: relevant configuration registers in continuous mode (data processing related only)............................................43 table 20: interrupt mapping in buffered rx and stby modes .......46 table 21: interrupt mapping in tx buffered mode ........................46 table 22: relevant configuration registers in buffered mode (data processing related only) .....................................................47 table 23: interrupt mapping in rx and stby in packet mode ........55 table 24: interrupt mapping in tx packet mode ...........................55 table 25: relevant configuration registers in packet mode (data processing related only) .....................................................56 table 26: registers list ................................................................58 table 27: mcparam register description ....................................58 table 28: irqparam register description ....................................60 table 29: rxparam register description .....................................62 table 30: syncparam register description ................................63 table 31: txparam register description .....................................64 table 32: oscparam register description ..................................64 table 33: pktparam register description ...................................65 table 34: crystal resonator specification ....................................66 table 35: reference design bom ................................................74 acronyms bom bill of materials br bit rate bw bandwidth ccitt comit consultati f international tlphonique et tlgraphique - itu cp charge pump crc cyclic redundancy check dac digital to analog converter dds direct digital synthesis dll dynamically linked library erp equivalent radiated power etsi european telecommunications standards institute fcc federal communications commission fdev frequency deviation fifo first in first out fs frequency synthesizer fsk frequency shift keying gui graphical user interface ic integrated circuit id identificator if intermediate frequency irq interrupt request itu international telecommunication union lfsr linear feedback shift register lna low noise amplifier lo local oscillator lsb least significant bit msb most significant bit nrz non return to zero nzif near zero intermediate frequency ook on off keying pa power amplifier pcb printed circuit board pfd phase frequency detector pll phase-locked loop por power on reset rbw resolution bandwidth rf radio frequency rssi received signal strength indicator rx receiver saw surface acoustic wave spi serial peripheral interface sr shift register stby standby tx transmitter uc microcontroller vco voltage controlled oscillator xo crystal oscillator xor exclusive or
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 5 of 77 www.semtech.com this product datasheet contains a detai led description of the SX1212 performa nce and functionality. please consult the semtech website for the latest updates or errata. 1. general description the SX1212 is a single chip fsk and ook transceiver capabl e of operation in the 300 to 510mhz license free ism frequency bands. it complies with both the relevant euro pean and north american standards, en 300-220 v2.1.1 (june 2006 release) and fcc part 15 (10-1-2006 edition). a unique feature of this circuit is its extremely low current consumption in receiver mode of only 3ma (typ). the SX1212 comes in a 5x5 mm tqfn-32 package. 1.1. simplified block diagram figure 1: SX1212 simplified block diagram
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 6 of 77 www.semtech.com 1.2. pin diagram the following diagram shows the pins arrangement of the qfn package, top view. SX1212 figure 2: SX1212 pin diagram notes: ? yyww refers to the date code ? ------ refers to the lot number
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 7 of 77 www.semtech.com 1.3. pin description table 2: SX1212 pinouts number name type description 0 gnd i exposed ground pad 1 test5 i/o connect to gnd 2 test1 i/o connect to gnd 3 vr_vco o regulated supply of the vco 4 vco_m i/o vco tank 5 vco_p i/o vco tank 6 lf_m i/o pll loop filter 7 lf_p i/o pll loop filter 8 test6 i/o connect to gnd 9 test7 i/o connect to gnd 10 xtal_p i/o crystal connection 11 xtal_m i/o crystal connection 12 test0 i connect to gnd 13 test8 i/o por. do not connect if unused 14 nss_config i spi config enable 15 nss_data i spi data enable 16 miso o spi data output 17 mosi i spi data input 18 sck i spi clock input 19 clkout o clock output 20 data i/o nrz data input and output (continuous mode) 21 irq_0 o interrupt output 22 irq_1 o interrupt output 23 pll_lock o pll lock detection output 24 test2 o no connect 25 test3 i/o connect to gnd 26 vdd i supply voltage 27 vr_1v o regulated supply of the analog circuitry 28 vr_dig o regulated supply of digital circuitry 29 vr_pa o regulated supply of the pa 30 test4 i/o connect to gnd 31 rfio i/o rf input/output 32 nc - connect to gnd note: pin 13 (test 8) can be used as a manual reset trigger. see section 7.4.2 for details on its use.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 8 of 77 www.semtech.com 2. electrical characteristics 2.1. esd notice the SX1212 is a high performance radio frequency device. it satisfies: ? class 2 of the jedec standard j esd22-a114-b (human body model), e xcept on pins 3-4-5-27-28-29-31 where it satisfies class 1a. ? class iii of the jedec standard jesd22-c101c (charged device model) on all pins. it should thus be handled with all the necessary esd precautions to avoid any permanent damage. 2.2. absolute maximum ratings stresses above the values listed below may cause permanent device failure. exposure to absolute maximum ratings for extended periods may affect device reliability. table 3: absolute maximum ratings symbol description min max unit vddmr supply voltage -0.3 3.7 v tmr storage temperature -55 125 c pmr input level - 0 dbm 2.3. operating range table 4: operating range symbol description min max unit vddop supply voltage 2.1 3.6 v trop temperature -40 +85 c ml input level - 0 dbm 2.4. chip specification conditions: temp = 25 c, vdd = 3.3 v, crystal frequency = 12.8 mhz, carrier frequency = 434 mhz, modulation fsk, data rate = 25 kb/s, fdev = 50 khz, fc = 100 khz, unless otherwise specified. 2.4.1. power consumption table 5: power consumption specification symbol description conditions min typ max unit iddsl supply current in sleep mode - 0.1 2 a iddst supply current in standby mode, clkout disabled crystal oscillator running - 65 85 a iddfs supply current in fs mode frequency synthesizer running - 1.3 1.7 ma iddr supply current in receiver mode - 3.0 3.5 ma iddt supply current in transmitter mode output power = +10 dbm output power = 1dbm (1) - - 25 16 30 21 ma ma (1) guaranteed by design and characterization
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 9 of 77 www.semtech.com 2.4.2. frequency synthesis table 6: frequency synt hesizer specification (1) guaranteed by design and characterization symbol description conditions min typ max unit fr frequency ranges programmable , (may require specific bom) 300 320 350 390 430 470 - - - - - - 330 350 390 430 470 510 mhz mhz mhz mhz mhz mhz br_f bit rate (fsk) nrz 0.78 - 150 kb/s br_o bit rate (ook) nrz 0.78 - 32 kb/s fda frequency deviation (fsk) 33 50 200 khz xtal crystal oscillator frequency 9 12.8 15 mhz fstep frequency synthesizer step variable, depending on the frequency. - 2 - khz ts_osc oscillator wake-up time from sleep mode (1) - 1.5 5 ms ts_fs frequency synthesizer wake-up time at most 10 khz away from the target from stby mode - 500 800 s 200 khz step - 180 - s 1 mhz step - 200 - s 5 mhz step - 250 - s 7 mhz step - 260 - s 12 mhz step - 290 - s 20 mhz step - 320 - s ts_hop frequency synthesizer hop time at most 10 khz away from the target 27 mhz step - 340 - s 2.4.3. transmitter table 7: transmitter specification (1) guaranteed by design and characterization symbol description conditions min typ max unit maximum power setting - +12.5 - dbm rfop rf output power, programmable with 8 steps of typ. 3db minimum power setting - -8.5 - dbm pn phase noise measured with a 600 khz offset, at the transmitter output. - -112 - dbc/hz spt transmitted spurious at any offset between 200 khz and 600 khz, unmodulated carrier, fdev = 50 khz. - - -47 dbc ts_tr (1) transmitter wake-up time from fs to tx ready. - 120 500 s ts_tr2 (1) transmitter wake-up time from stby to tx ready. - 600 900 s
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 10 of 77 www.semtech.com 2.4.4. receiver on the following table, fc and fo describe the bandwidt h of the active channel filters as described in section 3.4.4.2 . all sensitivities are meas ured receiving a pn15 sequenc e, for a ber of 0.1.% table 8: receiver specification symbol description conditions min typ max unit 434 mhz, br=25 kb/s, fdev =50 khz, fc=100 khz - -104 - dbm - - - - - - rfs_f sensitivity (fsk) - - - 434 mhz, 2kb/s nrz fc-fo=50 khz, fo=50 khz - -110 - dbm - - - - - - rfs_o sensitivity (ook) - - - ccr co-channel rejection modulation as wanted signal - -12 - dbc offset = 300 khz - - - db offset = 600 khz - 42 - db acr adjacent channel rejection offset = 1.2 mhz - 53 - db offset = 1 mhz, unmodulated - 53 - dbc offset = 2 mhz, unmodulated, no saw - - - bi blocking immunity offset = 10 mhz, unmodulated, no saw - - - rxbw_f (1,2) receiver bandwidth in fsk mode single side bw polyphase off 50 - 250 khz rxbw_o (1,2) receiver bandwidth in ook mode single side bw polyphase on 50 - 400 khz iip3 input 3 rd order intercept point interferers at 1mhz and 1.950 mhz offset - -28 - dbm ts_re (1) receiver wake-up time from fs to rx ready - 280 500 s ts_re2 (1) receiver wake-up time from stby to rx ready - 600 900 s 200 khz step - 400 - s 1mhz step - 400 - s 5mhz step - 460 - s 7mhz step - 480 - s 12mhz step - 520 - s 20mhz step - 550 - s ts_re_hop receiver hop time from rx ready to rx ready with a frequency hop 27mhz step - 600 - s ts_rssi rssi sampling time from rx ready - - 1/fdev s dr_rssi rssi dynamic range rang ing from sensitivity - 70 - db (1) information from design and characterization (2) this reflects the whole receiver bandwidth, as described in sections 3.4.4.1 and 3.4.4.2
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 11 of 77 www.semtech.com 2.4.5. digital specification conditions: temp = 25 c, vdd = 3.3 v, crystal fre quency = 12.8 mhz, unless otherwise specified. table 9: digital specification symbol description conditions min typ max unit vih digital input level high 0.8*vdd - - v vil digital input level low - - 0.2*vdd v voh digital output level high imax=1ma 0.9*vdd - - v vol digital output level low imax=-1ma - - 0.1*vdd v sck_config spi config. clock frequency - - 6 mhz sck_data spi data clock frequency - - 1 mhz t_data data hold and setup time 2 - - s t_mosi_c mosi setup time for spi config. 250 - - ns t_mosi_d mosi setup time for spi data. 312 - - ns t_nssc_l nss_config low to sck rising edge. sck falling edge to nss_config high. 500 - - ns t_nssd_l nss_data low to sck rising edge. sck falling edge to nss_data high. 625 - - ns t_nssc_h nss_config rising to falling edge. 500 - - ns t_nssd_h nss_data rising to falling edge. 625 - - ns note: on pin 10 (xtal_p) and 11 (xtal_n), maxi mum voltages of 1.8v can be applied.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 12 of 77 www.semtech.com 3. architecture description this section describes in depth the architectu re of this ultra low-power transceiver: waveform generator fsk demod bitsync ook demod control xo rssi lo1 rx lo2 rx i i q q lo1 tx i q lo2 tx lo1 rx lo2 rx lo1 tx lo2 tx lo2 tx rfio xtal_p xtal_m vr _vco vr_pa irq_0 irq_1 mosi miso sck nss_config clkout data nss_data test vc vc lf_p lf_m vr_d o_p o_m ig pll _ lock pa lna i q q i i q lo generator frequency synthesizer vr_1v figure 3: SX1212 detailed block diagram 3.1. power supply strategy to provide stable sensitivity and linearity characterist ics over a wide supply range, the SX1212 is internally regulated. this internal regulated power supply structure is described below:
SX1212 advance rev 2 ? june 18th, 2009 page 13 of 77 www.semtech.com d communications & sensing vdd ? pin 26 2.1 ? 3.6v external supply reg_top 1.4 v reg_vco 0.85 v reg_pa 1.80 v vr_vco pin 3 vr_pa pin 29 biasing : -pa driver -pa choke (ext) biasing : -vco circuit -ext. vco tank vr_dig pin 28 biasing digital blocks vr_1v pin 27 reg_dig 1.0 v biasing : -spi -config. registers -por 1 ? f 1 ? f y5v 220nf 100nf 47nf y5v x7r x7r x7r vbat biasing analog blocks figure 4: power supply breakdown to ensure correct operation of the regulator circ uit, the decoupling capacitor connection shown in figure 4 is required. these decoupling components are recommended for any design. 3.2. frequency synthesis description the frequency synthesizer of the SX1212 is a fully integrat ed integer-n type pll. the pll circuit requires only five external components for the pll loop filter and the vco tank circuit. 3.2.1. reference oscillator the SX1212 embeds a crystal oscillator, which provides the reference frequency for the pll. the recommended crystal specification is given in section 7.1 . 3.2.2. clkout output the reference frequency, or a sub-multiple of it, can be provided on clkout (pin 19) by activating the bit oscparam_clkout_on. the division ratio is progra mmed through bits oscparam_clkout_freq. the two applications of the clkout output are: ? to provide a clock output for a companion uc, thus saving the cost of an additional oscillator. clkout can be made available in any operation mode, except sleep mode, and is automatically enabled at power-up. ? to provide an oscillator reference output. measurement of the clkout signal enables simple software trimming of the initial crystal tolerance. note: to minimize the current consumption of the sx 1212, ensure that the clkout signal is disabled when unused.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 14 of 77 www.semtech.com 3.2.3. pll architecture the crystal oscillator (xo) forms the reference oscill ator of an integer-n phas e locked loop (pll), whose operation is discussed in the following section. figure 5 shows a block schematic of the SX1212 pll. here the crystal reference frequency and the software controlled divi ders r, p and s determine the output frequency of the pll. pfd 75.(p i +1)+s i xo (r i +1) vr_vco xt_m xt_p lf_m lf_p vco_m vco_p lo vtune fcomp figure 5: frequency synthesizer description the vco tank inductors are connected on an external differ ential input. similarly, the loop filter is also located externally. however, there is an internal 8pf capacitance at vco input that should be subtracted from the desired loop filter capacitance. the output signal of the vco is used as the input to the local oscillator (lo) generator stage, illustrated in figure 6 . the vco frequency is subdivided and used in a series of up (down) conversions for transmission (reception). lo vco output receiver los lo1 rx lo2 rx 8 90 i q lo1 tx 90 q i transmitter los 90 i q lo2 tx 8 figure 6: lo generator 3.2.4. pll tradeoffs with an integer-n pll architecture, the following criterion must be met to ensure correct operation: ? the comparison frequency, fcomp, of the phase frequen cy detector (pfd) input must remain higher than six times the pll bandwidth (pllbw) to guarantee loop stab ility and to reject harmonics of the comparison frequency fcomp. this is expressed in the inequality: 6 fcomp pllbw d ? however the pllbw has to be sufficiently high to allow adequate pll lock times ? because the divider ration r determines fcomp, it should be set close to 119, leading to fcomp 100 khz which will ensure suitable pll stability and speed.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 15 of 77 www.semtech.com with the recommended bill of materials (bom) of the reference design of section 7.5.3 , the pll prototype is the following: ? 64 ? r ? 169 ? s < p+1 ? pllbw = 15 khz nominal ? startup times and reference frequency spurs as specified. 3.2.5. voltage controlled oscillator the integrated vco requires only two external tank circuit inductors. as the input is differential, the two inductors should have the same nominal value. the performance of these components is important for both the phase noise and the power consumption of the pll. it is recommended that a pair of high q factor inductors is selected. these should be mounted orthogonally to other inductors (in particular the pa choke) to reduce spurious coupling between the pa and vco. in addition , such measures may reduce radiated pulling effects and undesirable transient behavior, thus minimizing spectral occupancy. note that ensuring a symmetrical layout of the vco inductors will further impr ove pll spectral purity. for best performance wound type inductors, with tight tolerance, should be used as described in section 7.5.3 . 3.2.5.1. sw settings of the vco to guarantee the optimum operation of the vco over the SX1212?s frequency and temperature ranges, the following settings should be programmed into the SX1212: target channel (mhz) 300- 330 320- 350 350- 390 390- 430 430- 470 470- 510 freq_band 000 001 010 011 100 101 table 10: mcparam_freq_band setting 3.2.5.2. trimming the vco tank by hardware and software to ensure that the frequency band of operation may be accurately addressed by the r, p and s dividers of the synthesizer, it is necessary to ensure that the vco is correctly centered. no te that for the reference design (see section 7.5 ) no centering is necessary. howe ver, any deviation from the reference design may require the optimization procedure, outlined below, to be implemented. this procedure is simplified thanks to the built-in vco trimming feature which is controlled over the spi interfac e. this tuning does not require any rf test equipment, and can be achieved by simply measuring vtune, the voltage between pins 6 (lfm) and 7 (lfp). the vco is centered if the voltage is within the range: 200)( 100 mvvtune d d note that this measurement should be conducted when in transmit mode at the center frequency of the desired band (for example ~315 mhz in the 300-330 mhz band) , with the appropriate mcparam_freq_band setting. if this inequality is not satisfied then adjust the mcpara m_vco_trim bits from 00 whilst monitoring vtune. this allows the vco voltage to be trimmed in + 60 mv increments. should the desired voltage range be inaccessible, the voltage may be adjusted further by changing the tank circuit inductance value. note that an increase in inductance will result in an increase vtune.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 16 of 77 www.semtech.com note for mass production: the vco capacitance is piece to piece dependant. as such, the optimization proposed above should be verified on several prototypes, to en sure that the population is centered on 150 mv. 3.2.6. pll loop filter to adequately reject spurious components arising fr om the comparison frequency fcomp, an external 2 nd order loop filter is employed. lf_m cl1 cl2 lf_p rl1 figure 7: loop filter following the recommendations made in section 3.2.4 , the loop filter pr oposed in the reference design?s bill of material on section 7.5.3 should be used. the loop filter settings are frequency band independent and are hence relevant to all implementations of the SX1212. 3.2.7. pll lock de tection indicator the SX1212 also features a pll lock detect indicator. this is useful for optimizing power consumption, by adjusting the synthesizer wake up time (ts_fs), since the pll star tup time is lower than specified under nominal conditions. the lock status can be read on bit irqparam_pll_lock, and mu st be cleared by writing a ?1? to this same register. in addition, the lock status can be reflected in pin 23 pll_lock, by setting the bit irqparam_enable_lock_detect. 3.2.8. frequency calculation as shown in figure 5 the pll structure comprises three different dividers, r, p and s, which set the output frequency through the lo. a second set of dividers is also available to allow rapid switching between a pair of frequencies: r1/p1/s1 and r2/p2/s2. these six dividers are programmed by six bytes of the register mcparam from addresses 6 to 11. 3.2.8.1. fsk mode the following formula gives the relation ship between the lo cal oscillator, and r, p and s values, when using fsk modulation. () [] sp r fxtal fskfrf flofskfrf ++ + = = )175 18 9 , 8 9 , 3.2.8.2. ook mode due to the manner in which the baseband ook symbols are generated, the signal is always offset by the fsk frequency deviation (fdev - as programmed in mcparam_fr eq_dev). hence, the cent er of the transmitted ook signal is:
SX1212 advance rev 2 ? june 18th, 2009 page 17 of 77 www.semtech.com d communications & sensing fdevflotxookfrf () [] fdevsp r fxtal txookfrf ?++ + = )175 18 9 ,, ?= 8 9 ,, consequently, in receive mode, due to the low intermedia te frequency (low-if) architecture of the SX1212 the frequency should be configured so as to ensure the correc t low-if receiver baseband center frequency, if2. () [] 2)175 18 9 ,, ifsp r fxtal rxookfrf ?++ + = 2 8 9 ,, ifflorxookfrf ?= note that from section 3.4.4 , it is recommended that if2 be set to 100 khz.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 18 of 77 www.semtech.com 3.3. transmitter description the SX1212 is set to transmit mode when mcparam_chip_mode = 100. waveform generator lo1 tx lo2 tx lo2 tx rfio pa i q q i i q dds dacs interpolation filters baseband if rf data clock first up-conversion second up-conversion amplification figure 8: transmitter architecture 3.3.1. architecture description the baseband i and q signals are digitally generated by a dds whose digital to analog converters (dac) followed by two anti-aliasing low-pass filters transform the digital signal in to analog in-phase (i) and quadrature (q) components whose frequency is the selected frequency deviation (fdev). i(t) q(t) fdev 1 figure 9: i(t), q(t) overview in fsk mode, the relative phase of i and q is switched by the input data between -90 and +90 with continuous phase. the modulation is therefore perfor med at this initial stage, since t he information contained in the phase difference will be converted into a frequency shift when the i and q signals are up-converted in the first mixer stage. this first up-conversion stage is duplicated to enhan ce image rejection. the fsk convention is such that: fdevfrf data fdevfrf data ??= + ? ''0'' ''1'' =
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 19 of 77 www.semtech.com in ook mode, the phase difference between the i and q chan nels is kept constant (independent of the transmitted data). thus, the first stage of up-conversion creates a fix ed frequency signal at the low if = fdev (this explains why the transmitted ook spectrum is offset by fdev). ook modulation is accomplished by switching on and off the pa and pa regulator stages. by convention: paon data ? = paoff data ?= ''0'' [] [] ''1'' after the interpolation filters, a set of four mixers comb ines the i and q signals and converts them into a pair of complex signals at the second intermediate frequency, equal to 1/8 of the lo frequency, or 1/9 of the rf frequency. these two new i and q signals are then combined and up-converted to the final rf frequency by two quadrature mixers fed by the lo signal. the signal is pr e-amplified, and then the transm itter output is driven by a final power amplifier stage. 3.3.2. bit rate setting in continuous transmit mode, setting the bit rate is usef ul to determine the frequency of dclk. as explained in section 5.3.2 , dclk will trigger an interrupt on the uc eac h time a new bit has to be transmitted. )__ (1*)__ (1*2 dbr mcparam valcbr mcparam val f br xtal + + = [] 3.3.3. alternative settings bit rate, frequency deviation and tx interpolation filter setti ngs are a function of the reference oscillator crystal frequency, f xtal . settings other than those programmable with a 12.8 mhz crystal can be obtained by selection of the correct reference oscillator frequency. please contac t your local semtech representative for further details. 3.3.4. fdev setting in fsk mode the frequency deviation, fdev, of the fsk transmitte r is programmed through bits mcparam_freq_dev: )__ (1*32 devfreq mcparam val f fdev xtal + = for correct operation the modulation index ? should be such that: 2*2 = b r fdev it should be noted that for communications between a pair of SX1212s, that fdev should be at least 33 khz to ensure a correct operation on the receiver side. 3.3.5. fdev setting in ook mode fdev has no physical meaning in ook transmit mode. however, as has been shown - due to the dds baseband signal generation, the ook signal is always o ffset by ?-fdev? (see formulas is section 3.2.8 ). it is suggested that fdev retains its default value of 100 khz in ook mode.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 20 of 77 www.semtech.com 3.3.6. interpolation filter after digital to analog conversion, both i and q signals are smoothed by interpolation f ilters. this block low-pass filters the digitally generated signal, and prevents the alias signals from enter ing the modulators. its bandwidth can be programmed with the register rxparam_interpfilttx, and should be set to: ? ? ? ? ? ? + ? 2 *3 br fdev bw where fdev is the programmed frequency deviation as set in mcparam_freq_dev, and br is the physical bit rate of transmission. notes: ? low interpolation filter bandwidth will attenuate the ba seband i/q signals thus redu cing the power of the fsk signal. conversely, excessive bandwidth will degrade spectral purity. ? for the wideband fsk modulation, for example when o perating in dts mode, the recommended filter setting can not be reached. however, the impact upon spectral purity will be negligible, due to the already wideband channel. 3.3.7. power amplifier the power amplifier (pa) integrated in the SX1212 opera tes under a regulated voltage supply of 1.8 v. the external pa choke inductor is biased by an internal re gulator output made available on pin 29 (vr_pa). thanks to these features, the pa output power is consistent over the power supply range. this is important for mobile applications where this allows both predictable rf performance and battery life. 3.3.7.1. rise and fall times control in ook mode, the pa ramp times can be accurately c ontrolled through the mcparam_pa_ramp register. those bits directly control the slew rate of vr_pa output (pin 29). table 11: pa rise/fall times mcparam_pa_ramp t vr_pa t pa_out (rise / fall) 00 3 us 2.5 / 2 us 01 8.5 us 5 / 3 us 10 15 us 10 / 6 us 11 23 us 20 / 10 us
SX1212 advance rev 2 ? june 18th, 2009 page 21 of 77 www.semtech.com d communications & sensing data vr_pa [v] 95 % t vr_pa t vr_pa 95 % 60 db 60 db pa output power t pa_out t pa_out figure 10: pa control 3.3.7.2. optimum load impedance (value to confirm) as the pa and the lna front-ends in the SX1212 share the sa me input/output pin, they are internally matched to approximately 50 ?. pmax-1db circle max power zopt = 30+j25 ? figure 11: optimal load impedance chart please refer to the reference design section for an optimized pa load setting.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 22 of 77 www.semtech.com 3.3.7.3. suggested pa biasing and matching the recommended pa bias and matching circuit is illustrated below: figure 12: recommended pa biasing and output matching vr_pa rfio 100nh 47nf saw low-pass and dc block pa antenna port dc block please refer to section 7.5.3 of this document for the optimized matc hing arrangement for each frequency band. 3.3.8. common input and output front-end the receiver and the transmitter share the same rfio pin (pin 31). figure 13 below shows the configuration of the common rf front-end. ? in transmit mode, the pa and the pa regulator are acti ve, with the voltage on the vr_pa pin equal to the nominal voltage of the regulator (1.8 v). the ex ternal inductance is used to bias the pa. ? in receive mode, both pa and pa regulator are off and vr_pa is tied to ground. the external inductance lt1 is then used to bias the lna. vr_pa reg_pa rfio pa rx_on lna to figure 13: front-end description
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 23 of 77 www.semtech.com 3.4. receiver description the SX1212 is set to receive mode when mcparam_chip_mode = 011. fsk demod bit synchronizer ook demod control logic -pattern recognition -fifo handler -spi interface -packet handler rssi lo1 rx lo2 rx lna baseband, if2 in ook if1 rf first down- conversion second down- conversion figure 14: receiver architecture 3.4.1. architecture the SX1212 receiver employs a super-heterodyne architecture. here, the first if is 1/9 th of the rf frequency (approximately 100mhz). the second down-conversion down-converts the i and q signals to base band in the case of the fsk receiver (zero if) and to a low-if (if2) for the ook receiver. channel lo1 rx image frequency if1 100mhz first down-conversion second down-conversion 0 if2=0 in fsk mode frequencyl lo2 rx figure 15: fsk receiver setting channel lo1 rx first down-conversion second down-conversion 0 if2<0 in fsk mode e image frequency lo2 rx frequency if1 100mhz q ual to fo figure 16: ook receiver setting after the second down-conversion stage, the received signal is channel-select filtered and amplified to a level adequate for demodulation. both fsk and ook demodulation are available. finally, an optional bit synchronizer (bitsync) is provided, to be supply a synchronous clock and data stream to a companion uc in continuous mode,
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 24 of 77 www.semtech.com or to fill the fifo buffers with glitch-free data in buffe red mode. the operation of the receiver is now described in detail. note: image rejection is achieved by the saw filter. 3.4.2. lna and first mixer in receive mode, the rfio pin is connected to a fi xed gain, common-gate, low noise amplifier (lna). the performance of this amplifier is such that the nois e figure (nf) of the receiver can be estimated to be 7 db. 3.4.3. if gain and second i/q mixer following the lna and first down-conversion, there is an if amplifier whose gain can be programmed from - 13.5 db to 0 db in 4.5 db steps, vi a the register mcparam_if_gain. the default setting corresponds to 0 db gain, but lower values can be used to increase the rssi dynamic range. refer to section 3.4.7 for additional information. 3.4.4. channel filters the second mixer stages are followed by the channel select filters. the channel select filters have a strong influence on the noise bandwidth and selectivity of the re ceiver and hence its sensitivit y. each filter comprises a passive and active section. 3.4.4.1. passive filter each channel select filter features a passive second-or der rc filter, with a bandwidth programmable through the bits rxparam_passivefilt. as the wider of the two filters, its effect on the sensitivity is negligible, but its bandwidth has to be setup instead to optimize blocking immunity. t he value entered into this register sets the single side bandwidth of this filter. for optimum per formance it should be set to 3 to 4 times the cutoff frequency of the active butterworth (or polyphase) filter described in the next section. butterfilt filter passive tbutterffil fc bw fc *4 *3 , 3.4.4.2. active filter the ?fine? channel selection is performed by an active, thir d-order, butterworth filter, wh ich acts as a low-pass filter for the zero-if configuration (fsk), or a complex poly phase filter for the low-if (ook) configuration. the rxparam_polypfilt_on bit enables/disables the polyphase filter. low-pass filter for fsk ( rxparam_polyfilt_on=??0??) f c polyphase filter for ook ( rxparam_polyfilt_on=??1?? ) -f c 0 f requency f requenc 0 -f c -f o canceled side of the polyphase filter y figure 17: active channel filter description
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 25 of 77 www.semtech.com as can be seen from figure 17 , the required bandwidth of this filter varies between the two demodulation modes. ? fsk mode: the 99% energy bandwidth of an fsk modulated signal is approximated to be: ? ? ? ? + = 2 *2 %,99 fdev bw fsk drifts fsk lo bwfc ? ? br the bits rxparam_butterfilt set fc, the cu toff frequency of the filter. as we ar e in a zero-if configuration, the fsk lobes are centered around the virtual ?dc? frequency. the choice of fc should be such that the modulated signal falls in the filter bandwidth, anticipating the local oscillator frequency drift over the operating temperature and aging of the device: > %,99 *2 + please refer to the charts in section 3.4.5 for an accurate overview of the filter bandwidth vs. setting. ? ook mode: the 99% energy bandwidth of an ook modulated signal is approximated to be: br tbit bw ook .2 2 %,99 == "0011" _ = the bits rxparam_polypfilt_center set fo, the center frequen cy of the polyphase filter when activated. fo should always be chosen to be equal to the low intermediate fr equency of the receiver (if2). this is why, in the gui described in section 7.2.1 of this document, the low if frequency of the ook receiver denoted if2 has been replaced by fo. the following setting is recommended: 100 = polypfilt rxparam drifts ook lo bwfofc khzfo the value stored in rxparam_butterfilt determines fc, the filter cut-off frequency. so the user should set fc according to: ? > %,99 )(*2 + again, fc as a function of rxparam_ butterfilt is given in the section 3.4.6 . 3.4.5. channel filters setting in fsk mode fc, the 3db cutoff frequency of the bu tterworth filter used in fsk reception, is programmed through the bit rxparam_butterfilt. however, the whole receiver chain in fluences this cutoff frequency. thus the channel select and resultant filter bandwidths are summarized in the following chart:
SX1212 advance rev 2 ? june 18th, 2009 page 26 of 77 www.semtech.com d communications & sensing butterworth filter's bw, fsk 50 100 150 200 250 300 350 400 450 fc (3db cutoff) [khz] 0 024681 01 21 41 6 val (rxparam_butterfilt) [d] actual bw theoretical bw figure 18: butterworth filter's actual bw error! reference source not found. suggests filter settings in fsk mode, along with the corresponding passive filter bandwidth and the accepted tole rance on the crystal reference. 3.4.6. channel filters setting in ook mode the center frequency, fo, is always set to 100khz. the following chart shows the receiver bandwidth when changing rxparam_butterfilt bits, whilst the polyphase filter is activated. polyphase filter's bw, ook 200 250 300 350 400 450 with fo=100 khz [khz] 0 50 100 150 024681 01 21 41 6 val (rxparam_butterfilt [d] rxparam_polypfilt="0011" fc-fo actual bw theoretical bw figure 19: polyphase filter's actual bw error! reference source not found. suggests a few filter settings in ook mode, along with the corresponding passive filter bandwidth and the accepted tolerance on the crystal reference. 3.4.7. rssi after filtering, the in-phase and quadrature signals are am plified by a chain of 11 amplifiers, each with 6db gain. the outputs of these amplifiers are used to evaluate the received signal strength (rssi). 3.4.7.1. resolution and accuracy whilst the rssi resolution is 0.5 db, the absolute accuracy is not expected to be better than +/- 3db due to process and external component variation. high er accuracy whilst performing absolute rssi measurements will require additional calibration. 3.4.7.2. acquisition time
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 27 of 77 www.semtech.com in ook mode, the rssi evaluates the si gnal strength by sampling i(t) and q(t) signals 16 times in each period of the chosen if2 frequency (refer to section 3.4.1 ). in fsk mode, the signals are sampled 16 times in each fdev period, fdev being the frequency devia tion of the companion transmitter. an average is then performed over a sliding window of 16 samples. hence, the rssi output r egister rxparam_rssi is updated 16 times in each fdev or if2 period. the following settings should be respected: ? fsk mode: ensure that the fdev parameter (as desc ribed in mcparam_fdev) remains consistent with the actual frequency deviation of the companion transmitter. ? ook reception: ensure that the fdev parameter (as described in mcparam_fdev) is equal with the frequency of i(t) and q(t) signals, i.e. the second intermediate freque ncy, if2, of the receiver (note that this equals fo, the center frequency of the polyphase filter). 3.4.7.3. dynamic range the dynamic range of the rssi is over 70 db, extending fr om the nominal sensitivity level. the if gain setting available in mcparam_if_gain is used to achieve this dynamic range: rssi response 20 40 60 80 100 120 140 160 180 rssi_val [0.5db/bit] 0 -120 -100 -80 -60 -40 -20 0 pin [dbm] if_gain=00 if_gain=01 if_gain=10 if_gain=11 figure 20: rssi dynamic range the rssi response versus input signal is independent of the receiver filter bandwidth. however in the absence of any input signal, the minimum value directly reflects upon t he noise floor of the receiver, which is dependant on the filter bandwidth of the receiver. 3.4.7.4. rssi irq source the SX1212 can also be used to detect a rssi level abov e a pre-configured threshold. the threshold is set in irqparam_rssi_irq_thresh and the irq status stored in irqparam_rssi_i rq (cleared by writing a ?1?). an interrupt can be mapped to the irq0 or irq1 pins via bits irqparam_rx_stby_irq0 or irqparam_rx_stby_irq1. figure 21 shows the timing diagram of the rssi interrupt source, with irqparam_rssi_irq_thresh set to 28.
SX1212 advance rev 2 ? june 18th, 2009 page 28 of 77 www.semtech.com d communications & sensing clear interrupt irqparam_rssi_irq 24 26 27 30 25 20 20 20 18 22 20 22 34 33 33 rxparam_rssi_val(7:0) figure 21: rssi irq timings 3.4.8. fdev setting in receive mode the effect of the fdev setting is different between fsk and ook modes: 3.4.8.1. fsk rx mode in fsk mode the fdev setting, as configured by mcpara m_freq_dev, sets sampling frequencies on the receiver. the user should make it consistent with the frequency deviation of the fsk signal that is received. 3.4.8.2. ook rx mode the frequency deviation fdev, as described above, sets th e sampling rate of the rssi block. it is therefore necessary to set fdev to the recommended low-if frequency, if2, of 100 khz: "00000011 1002 = "__ = = mcparam khz iffdev devfreq 3.4.9. fsk demodulator the fsk demodulator provides data polarity information, based on the relative phase of the input i and q signals at the baseband. its outputs can be fed to the bit synchronizer to recover the timing information. the user can also use the raw, unsynchronized, output of the fsk demodulator in continuous mode. the fsk demodulator of the SX1212 operates most effectiv ely for fsk signals with a modulation index greater than or equal to two: 2 *2 = br fdev 3.4.10. ook demodulator the ook demodulator performs a comparison of the rssi output and a threshold value. three different threshold modes are available, programmed through the rxparam_ook_thresh_type register. the recommended mode of operation is the ?peak? threshold mode, illustrated below in figure 22 :
SX1212 adv rev 2 ? june 18th, 2009 page 29 of 77 www.semtech.com anced communications & sensing zoom period as defined in rxparam_ook_thresh_dec_period decay in db as defined in rxparam_ook_thresh_step fixed 6db difference rssi (db) noise floor of receiver ??floor?? threshold defined by mcparam_ook_floor_thresh time ??peak -6db?? threshold zoom figure 22: ook demodulator description in peak threshold mode the comparison threshold level is the peak value of the rssi, reduced by 6db. in the absence of an input signal or during the reception of a logical ?0?, the acquired peak value is decremented by one rxparam_ook_thresh_step every rx param_ook_thresh_dec_period. when the rssi output is null for a long ti me (for instance after a long string of ?0? received, or if no transmitter is present), the peak threshold level will continue falling until it reaches the ?floor threshold? that is programmed through the register mcparam_ook_floor_thresh. the default settings of the ook demodulator lead to the pe rformance stated in the electrical specification. however, in applications in which sudden signal drops are awaited during a reception, the three parameters shall be optimized accordingly. 3.4.10.1. optimizing the floor threshold mcparam_ook_floor_thres determines the sensitivity of the ook receiver, as it sets the comparison threshold for weak input signals (i.e. those close to the noise floor). significant sensitivity improvements can be generated if configured correctly. note that the noise floor of the receiv er at the demodulator input depends on: ? the noise figure of the receiver. ? the gain of the receive chain from antenna to base band. ? the matching - including saw filter. ? the bandwidth of the channel filters. it is therefore important to note that the setting of mc param_ook_floor_thresh will be application dependant. the following procedure is recommended to optimize mcparam_ook_floor_thresh.
SX1212 advance rev 2 ? june 18th, 2009 page 30 of 77 www.semtech.com d communications & sensing set SX1212 in ook rx mode adjust bit rate, channel filter bw default rxparam_ook_thresh setting no input signal continuous mode optimization complete glitch activity on data ? monitor data pin (pin 20) increment mcparam_ook_floor_thres figure 23: floor threshold optimization the new floor threshold value found during this test should be the value used for ook reception with those receiver settings. note that if the output signal on data is logic ?1?, the value of mcparam_ook_floor_thres is below the noise floor of the receiver chain. conversely, if the output signal on data is logic ?1?, the value of maparam_floor_thres is several db above the noise floor. 3.4.10.2. optimizing ook demodulato r response for fast fading signals a sudden drop in signal strength can cause the bit error rate to increase. for applications where the expected signal drop can be estimated the following ook demodulator parameters rxparam_ook_thresh_step and rxparam_ook_thresh_dec_period can be optimized as described below for a given number of threshold decrements per bit rxparam_ook_thresh_dec_period: ? 000 ? once in each chip period (d) ? 001 ? once in 2 chip periods ? 010 ? once in 4 chip periods ? 011 ? once in 8 chip periods ? 100 ? twice in each chip period ? 101 ? 4 times in each chip period ? 110 ? 8 times in each chip period ? 111 ? 16 times in each chip period for each decrement of rxparam_ook_thresh_step: ? 000 ? 0.5 db (d) ? 001 ? 1.0 db ? 010 ? 1.5 db ? 011 ? 2.0 db ? 100 ? 3.0 db ? 101 ? 4.0 db ? 110 ? 5.0 db ? 111 ? 6.0 db
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 31 of 77 www.semtech.com 3.4.10.3. alternative ook demodulator threshold modes in addition to the peak ook threshold mode, the user c an alternatively select two other types of threshold detectors: ? fixed threshold: the value is selected through t he mcparam_ook_floor_thresh register (refer to section 3.4.10.1 for further information concerning opt imization of the floor threshold). ? average threshold: data supplied by the rssi bl ock is averaged with the following cutoff frequency: *8 00 __ br fcutoff cutoff ook rxparam = ?= *32 11 __ br fcutoff cutoff ook rxparam = ?= in the first example, the higher cut-off frequency enables a sequence of up to 8 consecutive ?0? or ?1? to be supported, whilst the lower cut-off frequency presented in t he second example allows for the correct reception of up to 32 consecutive ?0? or ?1?. 3.4.11. bit synchronizer the bit synchronizer (bitsync) is a bloc k that provides a clean and synchronized digital output, free of glitches. raw demodulator output (fsk or ook) data dclk irq_1 bitsync output to pin data and dclk in continuous mode figure 24: bitsync description the bitsync can be disabled through th e bits rxparam_bitsync_off, and by ho lding pin irq1 low. however, for optimum receiver performance, its us e when running continuous mode is st rongly advised. with this option a dclk signal is present on pin irq_1. the bitsync is automatically activated in buffered and pack et modes. the bit synchronizer bit-rate is controlled by mcparam_br. for a given bit rate, this parameter is determined by: [] br mcparam f br xtal _ 1*64 + =
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 32 of 77 www.semtech.com for proper operation, the bit synchronizer must first rece ive three bytes of alternating logic value preamble, i.e. ?0101? sequences. after this start up phase, the rising edge of dclk signal is centered on the demodulated bit. subsequent data tran sitions will preserve this centering. this has two implications: ? firstly, if the bit rates of transmitter and rece iver are known to be the same, the SX1212 will be able to receive an infinite unbalanced sequence (all ?0s? or all ?1s?) with no restriction. ? if there is a difference in bit rate between tx and rx, t he amount of adjacent bits at the same level that the bitsync can withstand can be estimated as: b r br ts numberofbi = * 2 1 this implies approximately 6 consecutive unbalanced bytes when the bit rate precision is 1%, which is easily achievable (crystal tolerance is in the range of 50 to 100 ppm). 3.4.12. alternative settings bit synchronizer and active channel filter settings are a function of the reference oscillator crystal frequency, f xtal . settings other than those programmable with a 12.8 mh z crystal can be obtained by selection of the correct reference oscillator frequency. please contact your local semtech repr esentative for further details. 3.4.13. data output after ook or fsk demodulation, the baseband signal is made available to the user on pin 20, data, when continuous mode is selected. in buffered and packet modes, the data is retrie ved from the fifo through the spi interface.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 33 of 77 www.semtech.com 4. operating modes this section summarizes the settings for each oper ating mode of the SX1212, and explains the functionality available and the timing requirements for switching between modes. 4.1. modes of operation table 12: operating modes mode mcparam_chip_mode active blocks sleep 000 spi, por standby 001 spi, por, top regulator, digital re gulator, xo, clkout (if activated through oscparam_clkout) fs 010 same + vco regulator, all pll and lo generation blocks receive 011 same as fs mode + lna, first mixe r, if amplifier, second mixer set, channel filters, baseband amplifie rs and limiters, rssi, ook or fsk demodulator, bitsync and all digital features if enabled transmit 100 same as fs mode + dds, interpol ation filters, all up-conversion mixers, pa driver, pa and external vr_pa pin output for pa choke. 4.2. digital pin configuration vs. chip mode table 13 describes the state of the digital ios in ea ch of the above described modes of operation. table 13: pin configuration vs. chip mode chip ???. mode pin sleep mode standby mode fs mode receive mode transmit mode comment nss_config input input input input input nss_config has the priority over nss_data nss_data input input input input input miso input input input input input output only if nss_config or nssdata=?0? mosi input input i nput input input sck input input i nput input input irq_0 high-z output (1) out put (1) output output irq_1 high-z output (1) out put (1) output output data input input i nput output input clkout high-z output ou tput output output notes: (1): high-z if continuous mode is activated, else output (2): valid logic states must be applied to inputs at all times to avoid unwanted leakage currents
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 34 of 77 www.semtech.com 5. data processing 5.1. overview 5.1.1. block diagram figure 25 , illustrates the SX1212 data processing circuit. its role is to interface the data to/from the modulator/demodulator and the uc access points (spi, irq and data pins). it also controls all the configuration registers. the circuit contains several control blocks which are described in the following paragraphs. control config spi packet handler sync recog. data data irq_0 irq_1 miso mosi sck nss_data rx tx tx/rx data SX1212 fifo (+sr) figure 25: SX1212?s data processing conceptual view the sx1 212 implements several data operation modes, each with their own data path through the data processing section. depending on the data operation mode selected, so me control blocks are active whilst others remain disabled. 5.1.2. data operation modes the sx1 212 has three different data operation modes selectable by the user: ? continuous mode : each bit transmitted or received is accessed in real time at the data pin. this mode may be used if adequate external signal processing is available. ? buffered mode : each byte transmitted or received is stor ed in a fifo and accessed via the spi bus. uc processing overhead is hence significantly reduced co mpared to continuous mode operation. the packet length is unlimited. ? packet mode (recommended) : user only provides/retrieves payload bytes to/from the fifo. the packet is automatically built with preamble, sync word, and opti onal crc, dc free encoding and the reverse operation is performed in reception. the uc processing overhead is hence reduced further compared to buffered mode. the maximum payload length is limited to the maximum fifo limit of 64 bytes
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 35 of 77 www.semtech.com table 14: data operation mode selection mcparam_data_mode data operation mode 00 continuous 01 buffered 1x packet e ach of these data operation modes is described fully in the following sections. 5.2. control block description 5.2.1. spi interface 5.2.1.1. overview as illustrated in the figure 26 below, the SX1212?s spi interface consists of two sub blocks: ? spi config : used in all data operation modes to read and write the configuration register s which control all the parameters of the chip (operating mode, bit rate, etc...) ? spi data : used in buffered and packet mode to write and read data bytes to and from the fifo. (fifo interrupts can be used to manage the fifo content.) spi data (slave) mosi miso sck spi config (slave) SX1212 nss_data config. registers nss_config nss_config mosi miso sck nss_data config. registers fifo c (master) figure 26: spi interface overview and uc connections b oth interfaces are configured in slave mode whilst the uc is configured as the master. they have separate selection pins (nss_config and nss_data) but share the remaining pins: ? sck (spi clock): clock signal provided by the uc ? mosi (master out slave in): data input signal provided by the uc ? miso (master in slave out): data output signal provided by the SX1212 as described below, only one interface can be selected at a time with nss_config having the priority:
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 36 of 77 www.semtech.com table 15: config vs. data spi interface selection nss_data nss_config spi interface 0 0 config 0 1 data 1 0 config 1 1 none t he following paragraphs describe how to use each of these interfaces. 5.2.1.2. spi config ? write register to write a value into a configuration register the timing diagram below should be carefully followed by the uc. the register?s new value is effective from the rising edge of nss_config. start a(4) a(3) a(2) a(1) d(7) d(6) d(5) d(4) d(3) d(2) d(1) d(0) sck (in) mosi (in) nss_config (in) x x x x x x x d(7) d(6) d(5) d(4) d(3) d(2) d(1) miso (out) rw a(0) address = a1 current value at address a1* * when writing the new value at address a1, the current content of a1 can be read by the uc. (in)/(out) refers to SX1212 side new value at address a1 x hz d(0) hz stop 1 5 4 3 2 6 9 8 7 10 11 12 13 14 15 16 figure 27: write register sequence n ote that when writing more than one register successive ly, it is not compulsory to toggle nss_config back high between two write sequences. the bytes are alternatively considered as address and value. in this instance, all new values will become effective on rising edge of nss_config. ? read register to read the value of a configuration register the timi ng diagram below should be carefully followed by the uc.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 37 of 77 www.semtech.com start a(4) a(3) a(2) a(1) x x x x x x x d(7) d(6) d(5) d(4) d(3) d(2) d(1) sck (in) mosi (in) miso (out) nss_config (in) rw a(0) address = a1 current value at address a1 x hz d(0) hz stop 1 5 4 3 2 6 9 8 7 10 11 12 13 14 15 16 xxxxx x x x figure 28: read register sequence n ote that when reading more than one register successive ly, it is not compulsory to toggle nss_config back high between two read sequences. the bytes are alte rnatively considered as address and value. 5.2.1.3. spi data ? write byte (before/during tx) to write bytes into the fifo the timing diagram below should be carefully followed by the uc. sck (in) mosi (in) miso (out) x d1(6) d1(5) d1(4) d1(3) d1(2) d1(1) d2(7) d2(6) d2(5) d2(4) d2(3) d2(2) d2(1) d2(0) d1(0) d1(7) hz hz hz nss_data (in) x x x x x x x x x x x x x x x x x 1 5 4 3 2 6 8 7 1 5 4 3 2 6 8 7 1 s t byte written 2 n d byte written figure 29: write bytes sequence (ex: 2 bytes) note that it is compulsory to toggle nss_ data back high between each byte written. the byte is pushed into the fifo on the rising edge of nss_data
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 38 of 77 www.semtech.com ? read byte (after/during rx) to read bytes from the fifo the timing diagram below should be carefully followed by the uc. sck (in) miso (out) d1(6) d1(5) d1(4) d1(3) d1(2) d1(1) d2(7) d2(6) d2(5) d2(4) d2(3) d2(2) d2(1) d2(0) d1(0) 1 s t byte read d1(7) hz hz mosi (in) x x x x x x x x x x x x x x x x hz nss_data (in) 1 5 4 3 2 6 8 7 1 5 4 3 2 6 8 7 2 n d byte read x figure 30: read bytes sequence (ex: 2 bytes) n ote that it is compulsory to toggle nss_data back high between each byte read. 5.2.2. fifo 5.2.2.1. overview and shift register (sr) in buffered and packet modes of operation, both data to be transmitted and that has been received are stored in a configurable fifo (first in first out) device. it is accessed via the spi data interface and provides several interrupts for transfer management. the fifo is 1 byte (8 bits) wide hence it only perform s byte (parallel) operati ons, whereas the demodulator functions serially. a shift register is therefore employed to interface the two devices. in transmit mode it takes bytes from the fifo and outputs them serially (msb first) at the pr ogrammed bit rate to the modulator. similarly, in rx the shift register gets bit by bit data from the demodulator and writes them byte by byte to the fifo. this is illustrated in figure below. 8 data tx/rx 1 sr (8bits) byte0 msb lsb byte1 fifo figure 31 : fifo and shift register (sr) 5.2.2.2. size selection the fifo w idth is programmable, to 16, 32, 48 or 64 bytes via mcparam_fifo_size
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 39 of 77 www.semtech.com 5.2.2.3. interrupt sources and flags all inter rupt sources and flags are configured in the irqparam section of the config uration register, with the exception of fifo_threshold : ? /fifoempty: /fifoempty interrupt source is low when byte 0, i.e. whole fifo, is empty. otherwise it is high. ? write_byte: write_byte interrupt source goes high for 1 bit period each time a new byte is transferred from the sr to the fifo (i.e. each time a new byte is received) ? fifofull: fifofull interrupt source is high when the last fifo byte, i.e. the whole fifo, is full. otherwise it is low. ? fifo_overrun_clr: fifo_overrun_clr flag is set when a new byte is written by the user (in tx or standby modes) or the sr (in rx mode) while the fifo is already full. in this case, data is lost and the flag should be cleared by writing a 1. the bit can also be used anytime to clear fifo and relaunch a new rx or tx process ? tx_done: tx_done interrupt source goes high when fifo is empty and the sr?s last bit has been send to the modulator (i.e. the last bit of the pack et has been sent). one bit period delay is required after the rising edge of tx_done to ensure correct rf transmission of the last bit. in practice this may not require special care in the uc software due to irq processing time. ? fifo_threshold: fifo_threshold interrupt source?s be havior can be programmed via mcparam_fifo_thresh (b value). this behavior is illustrated in figure 32 . # of bytes in fifo irq source 0 1 b b+1 f igure 32: fifo threshold irq source behavior 5.2.2.4. fifo clearing table 16 below summarizes the status of the fi fo when switching between different modes table 16: status of fifo when switchin g between different modes of the chip from to fifo status comments cleared in buffered mode, fifo cannot be written in stby before tx stby tx not cleared in packet mode, fifo can be written in stby before tx stby rx cleared rx tx cleared rx stby not cleared in packet & buffered m odes fifo can be read in stby after rx tx rx cleared tx stby not cleared any sleep cleared 5.2.3. sync word recognition
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 40 of 77 www.semtech.com 5.2.3.1. overview sync word recognition (also called pattern recogni tion in previous products) is activated by setting rxparam_sync_on. the bit synchronizer must also be activated. the block behaves like a shift register; it continuously compares the incoming data with its internally programmed sync word and asserts the sync irq source on each occasion that a ma tch is detected. this is illustrated in figure 33 . rx data (nrz) dclk bit n-x = sync_value[x] bit n-1 = sync_value[1] bit n = sync_value[0] sync figure 33: sync word recognition during the comparison of the demodulated data, the first bit received is compared with bit 7 (msb) of byte at address 22 and the last bit received is compared with bit 0 (lsb) of the last byte whose address is determined by the length of the sync word. when the programmed sync word is detected the user can assume that this incoming packet is for the node and can be processed accordingly. 5.2.3.2. configuration ? size: sync word size can be set to 8, 16, 24 or 32 bits via rxparam_sync_size. in packet mode this field is also used for sync word generation in tx mode. ? error tolerance: the number of errors tolerated in the sync word recognition can be set to 0, 1, 2 or 3 via rxparam_sync_tol. ? value: the sync word value is configured in syncpar am_sync_value. in packet mode this field is also used for sync word generation in tx mode. 5.2.4. packet handler the pa cket handler is the block used in packet m ode. its functionality is fully described in section 5.5 . 5.2.5. control the con trol block configures and controls the full chip?s behavior according to the settings programmed in the configuration registers.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 41 of 77 www.semtech.com 5.3. continuous mode 5.3.1. general description as illustrated in figure 34 , in continuous mode the nrz data to (from) the (de)modulator is directly accessed by the uc on the bidirectional data pin (20). the spi data, fifo and packet handler are thus inactive. control config spi sync recog. data irq_1(dclk) miso mosi sck nss_config rx tx/rx irq_0 datapath SX1212 data figure 34: continuous mode conceptual view 5.3.2. tx processing in tx mode, a synchronous data clock fo r an external uc is provided on irq_1 pin. its timing with respect to the data is illustrated in figure 35 . data is internally sampled on the rising edge of dclk so the uc can change logic state anytime outside the gr eyed out setup/hold zone. the use of dclk is compulsory in fsk and optional in ook. data (nrz) dclk t_data t_data figure 35: tx processing in continuous mode
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 42 of 77 www.semtech.com 5.3.3. rx processing if the bit synchronizer is disabled, the raw demodulator output is made directly ava ilable on data pin and no dclk signal is provided. conversely, if the bit synchronizer is enabled, synchronous cleaned data and clock are made available respectively on data and irq_1 pins. data is sampled on the ri sing edge of dclk and updated on the falling edge as illustrated in figure 36 . data (nrz) dclk figure 36: rx processing in continuous mode note th at in continuous mode it is always recommended to enable the bit synchronizer to clean the data signal even if the dclk signal is not used by the uc. (bit syn chronizer is automatically enabled in buffered and packet mode). 5.3.4. interrupt signals mapping the tables below give the description of t he interrupts available in continuous mode. rx_stby_irq_0 rx 00 (d) sync 01 rssi irq_0 1x - dclk irq_1 table 17: interrupt mapping in continuous rx mode note: in continuous mode, no interrupt is available in stby mode tx - irq_0 dclk irq_1 table 1 8: interrupt mapping in continuous tx mode
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 43 of 77 www.semtech.com 5.3.5. uc connections uc SX1212 irq_0 irq_1 (dclk) data nss_config sck mosi miso figure 37: uc connections in continuous mode note th at some connections may not be needed depending on the application: ? irq_0: if sync and rssi interrupts are not used. in this case, leave floating. ? irq_1: if the chip is never used in tx fsk mode (dclk connection is not compulsory in rx and tx ook modes). in this case, leave floating. ? miso: if no read register access is needed. in this case, pull-up to vdd through a 100 k ? resistor. in addition, nss_data pin (unused in continuous mode) should be pulled-up to vdd through a 100 k ? resistor. p lease refer to table 13 for SX1212?s pins configuration 5.3.6. continuous mode example ? configure all data processing related registers listed below appropriately. in this ex ample we assume that both bit synchronizer and sync word recognition are on. table 19: relevant configuration registers in continuous mode (data processing related only) tx rx description mcparam data_mode_x x x defines data operation mode ( ? continuous) irqparam rx_stby_irq_0 x defines irq_0 source in rx mode sync_on x enables sync word recognition sync_size x defines sync word size rxparam sync_tol x defines the error tolerance on sync word recognition syncparam sync_value x defines sync word value tx mode: ? go to tx mode (and wait for tx to be ready, see figure 50 ) ? send all packet?s bits on data pin synchron ously with dclk signal provided on irq_1 ? go to sleep mode rx mode: ? program rx interrupts: irq_0 mapped to sync (r x_stby_irq_0=?00?) and irq_1 mapped to dclk (bit synchronizer enabled) ? go to rx mode (note that rx is not ready immediately, see figure 49 ) ? wait for sync interrupt ? get all packet bits on data pin synchro nously with dclk signal provided on irq_1 ? go to sleep mode
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 44 of 77 www.semtech.com 5.4. buffered mode 5.4.1. general description as illustrated in figure 38 , for buffered mode operation the nrz data to (from) the (de)modulator is not directly accessed by the uc but stored in the fifo and accessed via the spi data interface. this frees the uc for other tasks between processing data from the SX1212, furthermo re it simplifies software development and reduces uc performance requirements (speed, reactivity). note t hat in this mode the packet handler stays inactive. an important feature is also the ability to empty the fifo in stby mode, ensuring low power consumption and adding greater software flexibility. control fifo (+sr) data config spi sync recog. irq_0 irq_1 miso mosi sck nss_data nss_config rx tx datapath SX1212 data figure 38: buffered mode conceptual view note th at bit synchronizer is automatically enabled in buffered mode. the sync word recognition must be activated by the user if needed. 5.4.2. tx processing after entering tx in buffered mode, the chip expects the uc to write into the fifo, via the spi data interface, all the data bytes to be transmitted (pr eamble, sync word, payload...). actual transmission of first byte will star t either when the fifo is not empty (i.e. first byte written by the uc) or when the fifo is full depending on bit irqparam_tx_start_irq_0. in buffered mode the packet length is not limited, i.e. as long as there are bytes inside the fifo they are sent. when the last byte is transferred to the sr, /fifoempty irq source is asserted to warn the uc, at that time fifo can still be filled with additional bytes if needed. when the last bit of the last byte has left the sr (i.e. 8 bit periods later), the tx_done interrupt source is asserted and the user can exit tx mode after waiting at least 1 bit period from the last bit processed by modulator.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 45 of 77 www.semtech.com if the transmitter is switched off (for example due to entering a nother chip mode) during transmission it will stop immediately, even if ther e is still unsent data. figure 39 illustrates tx processing with a 16 byte fifo dept h and tx_start_irq_0=0. please note that in this example the packet length is equal to fifo size, but this does not need to be the case, the uc can use the fifo interrupts anytime during tx to manage fifo contents and write additional bytes. start condition (cf. tx_start_irq_0) b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b14 b15 b12 b13 b0 b1 fifo 0 15 data tx (from sr) fifofull tx_done /fifoempty b5 b2 b3 b4 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 xxx xxx from spi data figure 39: tx processing in buffered m ode (fifo size = 16, tx_start_irq_0=0) 5.4.3. rx processing after entering rx in buffered mode, the chip requires the uc to retrieve the received data from the fifo. the fifo will actually start being filled with rece ived bytes either; when a sy nc word has been detected (in this case only the bytes following the sync word are filled into the fifo) or when the fifo_fill bit is asserted by the user - depending on the state of bit, irqparam_fifo_fill_method. in buffered mode, the packet length is not limited i.e. as lo ng as fifo_fill is set, the received bytes are shifted into the fifo. the uc software must therefore manage the transfer of t he fifo contents by interrupt and ensure reception of the correct number of bytes. (in this mode, even if the re mote transmitter has stopped, the demodulator will output random bits from noise) when the fifo is full, fifofull irq sour ce is asserted to alert the uc, that at that time, the fifo can still be unfilled without data loss. if the fifo is not unfilled, once the sr is also full (i.e. 8 bits periods later) fifo_overrun_clr is asserted and sr?s content is lost. figure 40 illustrates an rx processing with a 16 bytes fifo size and fifo_fill_method=0. please note that in the illustrative example of section 5.4.6 , the uc does not retrieve any byte from the fifo through spi data, causing overrun.
SX1212 advanced communications & sensing b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b14 b15 b12 b13 b16 sync preamble ?noisy? data rev 2 ? june 18th, 2009 page 46 of 77 www.semtech.com b0 b1 b5 b2 b3 b4 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 0 15 data rx (to sr) start condition (cf. fifo_fill_method) /fifoempty fifofull fifo_overrun_clr write_byte fifo figure 40: rx processing in buffered mode (fifo size=16, fifo_fill_method=0) 5.4.4. interrupt signals mapping the tables below describe the interrupts available in buffered mode. rx_stby_irq_x rx stby 00 (d) - - 01 write_byte - 10 /fifoempty /fifoempty irq_0 11 sync - 00 (d) - - 01 fifofull fifofull 10 rssi - irq_1 11 fifo_threshold fifo_threshold table 20: interrupt mapping in buffered rx and stby modes tx tx_start_irq_0=0 (d) fifo_threshold irq_0 tx_start_irq_0=1 /fifoempty tx_irq_1=0 (d) fifofull irq_1 tx_irq_1=1 tx_done table 2 1: interrupt mapping in tx buffered mode
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 47 of 77 www.semtech.com 5.4.5. uc connections uc SX1212 irq_0 irq_1 nss_config sck mosi miso nss_data figure 41: uc connections in buffered mode note th at depending upon the application, some uc connections may not be needed: ? irq_0: if none of the relevant irq source s are used. in this case, leave floating. ? irq_1: if none of the relevant irq source s are used. in this case, leave floating. ? miso: if no read register access is needed and the chip is used in tx mode only. in this case, pull up to vdd through a 100 k ? resistor. in addition, data pin (unused in buffered mode) should be pulled-up to vdd through a 100 k ? resistor. p lease refer to table 13 for the SX1212?s pin configuration. 5.4.6. buffered mode example ? configure all data processing related registers listed below appropriately. in this example we assume sync word recognition is on and fifo_fill_method=0. tx rx description data_mode_x x x defines data operation mode ( ? buffered) fifo_size x x defines fifo size mcparam fifo_thresh x x defines fifo threshold rx_stby_irq_0 x defines irq_0 source in rx & stby modes rx_stby_irq_1 x defines irq_1 source in rx & stby modes tx_irq_1 x defines irq_1 source in tx mode fifo_fill_method x defi nes fifo filling method fifo_fill x controls fifo filling status irqparam tx_start_irq_0 x defines tx start condition and irq_0 source sync_size x defines sync word size rxparam sync_tol x defines the error tolerance on sync word detection syncparam sync_value x defines sync word value table 22: relevant configuration registers in buffered mode (data processing related only) tx mode: ? program tx start condition and irqs: start tx when fi fo is not empty (tx_start_irq_0=1) and irq_1 mapped to tx_done (tx_irq_1=1) ? go to tx mode (and wait for tx to be ready, see figure 50 )
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 48 of 77 www.semtech.com ? write packet bytes into fifo. tx star ts when the first byte is written (tx_ start_irq_0=1). we assume the fifo is being filled via spi data faster than bei ng unfilled by sr (else us e tx_start_irq_0 =0 ie fifo_threshold to delay tx start) ? wait for tx_done interrupt (+1 bit period) ? go to sleep mode rx mode: ? program rx/stby interrupts: irq_0 mapped to /f ifoempty (rx_stby_irq_0=10) and irq_1 mapped to fifo_threshold (rx_stby_irq_1=01). configure fifo_thresh to an appropriate value (ex: to detect packet end if its length is known) ? go to rx mode (note that rx is not ready immediately, cf section 7.3.1 ). ? wait for fifo_threshold interrupt (i.e. sync word ha s been detected and fifo filled up to the defined threshold). ? if it is packet end, go to stby (sr?s content is lost). ? read packet bytes from fifo until /fifoempty goes low (or correct number of bytes is read). ? go to sleep mode.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 49 of 77 www.semtech.com 5.5. packet mode 5.5.1. general description similar to buffered mode operation, in packet mode the nrz data to (from) the (de)modulator is not directly accessed by the uc but stored in the fifo and accessed via the spi data interface. in addition, the SX1212?s packet handler performs several packet oriented tasks such as preamble and sync word generation, crc calculation/check, whitening/dewhitening of da ta, address filtering, etc. this simplifies still further software and reduces uc overhead by performing thes e repetitive tasks within the rf chip itself. another important feature is ability to fill and empty the fifo in stby mode, ensuring optimum power consumption and adding more flexibility for the software. control data config spi packet handler sync recog. irq_0 irq_1 miso mosi sck nss_data nss_config rx tx datapath SX1212 data fifo (+sr) figure 42: packet mode conceptual view note th at bit synchronizer and sync word recogni tion are automatically enabled in packet mode. 5.5.2. packet format two typ es of packet formats are supported: fix ed length and variable length, selectable by the pktparam_pkt_format bit. the maximum size of the payload is limited by the size of the fifo selected (16, 32, 48 or 64 bytes). 5.5.2.1. fixed length packet format in applications where the packet length is fixed in advance, this mode of operation may be of interest to minimize rf overhead (no length byte field is required). a ll nodes, whether tx only, rx only, or tx/rx should be programmed with the same packet length value. the length of the payload is set by the pktparam_payload_le ngth register and is limited by the size of the fifo selected.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 50 of 77 www.semtech.com the length stored in this register relates only to the payload which includes the message and the optional address byte. in this mode, the payload must contain at least one byte, i.e. address or message byte. an illust ration of a fixed length packet is shown in figure 43 . it contains the following fields: ? preamble (1010...). ? sync word (network id). ? optional address byte (node id). ? message data. ? optional 2-bytes crc checksum. message 0 to (fifo size) bytes address byte crc 2-bytes sync word 1 to 4 bytes preamble 1 to 4 bytes payload/fifo crc checksum calculation fields added by the packet handler in tx and processed and removed in rx optional user provided fields which are part of the payload message part of the payload optional dc free data coding f igure 43: fixed length packet format 5.5.2.2. variable length packet format this mode is necessary in applications where the length of the packet is not known in advance and can vary over time. it is then necessary for the transmitter to send the le ngth information together with each packet in order for the receiver to operate properly. in this mode the length of the payload, indicated by the length byte in figure 44 , is given by the first byte of the fifo and is limited only by the width of the fifo selected. note that the lengt h byte itself is not included in its calculation. in this mode, the payload must contain at least 2 bytes, i.e. length + address or message byte. an illust ration of a variable length packet is shown in figure 44 . it contains the following fields: ? preamble (1010...). ? sync word (network id). ? length byte ? optional address byte (node id). ? message data. ? optional 2-bytes crc checksum.
SX1212 advance rev 2 ? june 18th, 2009 page 51 of 77 www.semtech.com d communications & sensing message 0 to (fifo size - 1) bytes address byte length byte crc 2-bytes sync word 1 to 4 bytes preamble 1 to 4 bytes payload/fifo crc checksum calculation fields added by the packet handler in tx and processed and removed in rx optional user provided fields which are part of the payload message part of the payload optional dc free data coding f igure 44: variable length packet format 5.5.3. tx processing in tx mo de the packet handler dynamically builds the packet by performing the following operations on the payload available in the fifo: ? add a programmable number of preamble bytes ? add a programmable sync word ? optionally calculating crc over complete payload field (optional length byte + optional address byte + message) and appending the 2 bytes checksum. ? optional dc-free encoding of the data (manchester or whitening). only the payload (including optional address and length fi elds) is to be provided by the user in the fifo. assuming that the chip is already in tx mode then, depending on irqparam_tx_start_irq_0 bit, packet transmission (starting with programmed preamble) will start either after the first byte is written into the fifo (tx_start_irq_0=1) or after the number of bytes written reaches the user defined threshold (tx_start_irq_0=0). the fifo can also be fully or partially filled in stby mode via pktparam_fifo_s tby_access. in this case, the start condition will only be checked when entering tx mode. at the end of the transmission (tx_done = 1), the user must explicitly exit tx mode if required. (e.g. back to stby) n ote that while in tx mode, before and after actual packet transmission (not enough bytes or tx_done), additional preamble bytes are automatically sent to the modulator. when the start condition is met, the current additional preamble byte is completely sent before the transmission of the next packet (i.e. programmed preamble) is started. 5.5.4. rx processing in rx mo de the packet handler extracts the user payload to the fifo by performing the following operations: ? receiving the preambl e and stripping it off. ? detecting the sync word and stripping it off. ? optional dc-free decoding of data. ? optionally checking the address byte. ? optionally checking crc and reflecting the resu lt on crc_status bit and crc_ok irq source. only the payload (including optional address and le ngth fields) is made available in the fifo. payload_ready and crc_ok interrupts (the latter only if crc is enabled) can be generated to indicate the end of the packet reception.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 52 of 77 www.semtech.com by default, if the crc check is enabled and fails for the cu rrent packet, then the fifo is automatically cleared and neither of the two interrupts are generated and new packet reception is started. this autoclear function can be disabled via pktparam_crc_autoclr bit and, in this case, even if crc fails, the fifo is not cleared and only payload_ready irq source is asserted. o nce fully received, the payload can also be fully or partially retrieved in stby mode via pktparam_fifo_stby_access. at the end of the reception, although the fifo au tomatically stops being filled, it is still up to the user to explicitly exit rx mode if required. (e.g. go to stby to get payload). fifo must be empty for a new packet reception to start. 5.5.5. packet filtering SX1212? s packet handler offers several mechanisms for packet filtering ensuring that only useful packets are made available to the uc, reducing significantly sy stem power consumption and software complexity. 5.5.5.1. sync word based sync word filtering/recognition is automatically enabled in packet mode. it is used for identifying the start of the payload and also for network identification. as previously described, the sync word re cognition block is configured (size, error tolerance, value) via rxparam_sync_s ize, rxparam_sync_tol and syncparam configuration registers. this information is used, both for appending sync word in tx, and filtering packets in rx. every received packet which does not start with this loca lly configured sync word is aut omatically discarded and no interrupt is generated. when the sync word is detected, payload reception automatically starts and sync irq source is asserted. 5.5.5.2. address based address filtering can be enabled via the pktparam_adrs_filt bits. it adds another level of filtering, above sync word, typically useful in a multi-node networks where a network id is shared between all nodes (sync word) and each node has its own id (address). three add ress based filtering options are available: ? adrs_filt = 01: received addres s field is compared with internal regi ster node_adrs. if they match then the packet is accepted and processed, otherwise it is discarded. ? adrs_filt = 10: received address field is compared with internal register node_a drs and the constant 0x00. if either is a match, the received pack et is accepted and process ed, otherwise it is discarded. this additional check with a constant is useful for implementing broadcast in a multi-node networks. ? adrs_filt = 11: received address field is compared with internal register node_adrs and the constants 0x00 & 0xff. if any of the three matches, then the received pa cket is accepted and proc essed, otherwise it is discarded. these additional checks with constants ar e useful for implementing broadcast commands of all nodes. p lease note that the received address byte, as part of the payload, is not stripped off the packet and is made available in the fifo. in addition, node_adrs and adrs_filt only apply to rx. on tx side, if address filtering is expected, the address byte should simply be put into the fifo like any other byte of the payload. 5.5.5.3. length based in variable length packet mode, pktparam_payload_l ength must be programmed with the maximum length permitted. if received length byte is smaller than this maximum then the packet is accepted and processed, otherwise it is discarded.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 53 of 77 www.semtech.com please note that the received length byte, as part of the payload, is not stripped off the packet and is made available in the fifo. to disab le this function the user should set the value of the pktparam_payload_length to the value of the fifo size selected. 5.5.5.4. crc based the crc check is enabled by setting bit pktparam_crc_on. it is used for checking the integrity of the message. ? on tx side a two byte crc checksum is calculated on the payload part of the packet and appended to the end of the message. ? on rx side the checksum is calculated on the rece ived payload and compared with the two checksum bytes received. the result of the comparison is stored in the pktparam_crc_status bit and crc_ok irq source. by default, if the crc check fails then the fifo is automatically cleared and no interrupt is generated. this filtering function can be disabled via pktparam_crc_autoclr bit and in this case, even if crc fails, the fifo is not cleared and only payload_ready interrupt goes high. please note that in both cases, the two crc checksum bytes are stripped off by the packet handler and only the payload is made available in the fifo. the crc is based on the ccitt polynomial as shown in figure 45 . this implementation also detects errors due to leading and trailing zeros. x 13 x 14 x 12 x 11 x 5 x 0 x 15 crc polynomial =x 16 + x 12 + x 5 + 1 x 4 * * * * * * data input f igure 45: crc implementation 5.5.6. dc-free data mechanisms the payload to be transmitted may contain long sequences of 1?s and 0?s, which introduces a dc bias in the transmitted signal. the radio signal thus produced has a no n uniform power distribution over the occupied channel bandwidth. it also introduces data dependencies in the normal operation of the demodulator. thus it is useful if the transmitted data is random and dc free. for su ch purposes, two techniques are made available in the packet handler: manchester encoding and data whitening. please note that only one of the two methods should be enabled at a time. 5.5.6.1. manchester encoding manchester encoding/decoding is enabled by setting bi t pktparam_manchester_on and can only be used in packet mode. the nrz data is converted to manchester code by coding ?1? as ?10? and ?0? as ?01?. in this case, the maximum chip rate is the maximum bit ra te given in the specifications section and the actual bit rate is half the chip rate.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 54 of 77 www.semtech.com manchester encoding and decoding is only applied to t he payload and crc checksum while preamble and sync word are kept nrz. however, the chip rate from preamble to crc is the same and defined by mcparam_br (chip rate = bit rate nrz = 2 x bit rate manchester). manchester encoding/decoding is thus made transparent for the user, who still provides/r etrieves nrz data to/from the fifo. ...sync payload... rf chips @ br ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... user/nrz bits manchester off ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... user/nrz bits manchester on ... 1 1 1 0 1 0 0 1 0 0 1 1 ... t 1/br 1/br figure 46 : manchester encoding/decoding 5.5.6.2. data whitening another technique called whitening or scrambling is widel y used for randomizing the user data before radio transmission. the data is whitened using a random sequence on the tx side and de-whit ened on the rx side using the same sequence. comparing to manchester technique it has the advantage of keeping nrz datarate i.e. actual bit rate is not halved. the whitening/de-whitening process is enabled by setting bit pktparam_whitening_on. a 9-bit lfsr is used to generate a random sequence. the payload and 2-byte crc ch ecksum is then xored with this random sequence as shown in figure 47 . the data is de-whitened on the receiver side by xoring with the same random sequence. payload whitening/de-whitening is thus made transparent for the user, who still provides/r etrieves nrz data to/from the fifo. x 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 x 8 lfsr polynomial =x 9 + x 5 + 1 transmit data whitened data figure 47 : data whitening 5.5.7. interrupt signal mapping tables below give the description of the interrupts available in packet mode.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 55 of 77 www.semtech.com table 23: interrupt mapping in rx and stby in packet mode rx_stby_irq_x rx stby 00 (d) payload_ready - 01 write_byte - 10 /fifoempty /fifoempty irq_0 11 sync or adrs_match* - 00 (d) crc_ok - 01 fifofull fifofull 10 rssi - irq_1 11 fifo_threshold fifo_threshold *the latter if address filtering is enabled tx tx_start_irq_0=0 (d) fifo_threshold irq_0 tx_start_irq_0=1 /fifoempty tx_irq_1=0 (d) fifofull irq_1 tx_irq_1=1 tx_done table 2 4: interrupt mapping in tx packet mode 5.5.8. uc connections uc SX1212 irq_0 irq_1 nss_config sck mosi miso nss_data figure 48: uc connections in packet mode note th at depending upon the application, some uc connections may not be needed: ? irq_0: if none of the relevant irq source s are used. in this case, leave floating. ? irq_1: if none of the relevant irq source s are used. in this case, leave floating. ? miso: if no read register access is needed and the chip is used in tx mode only. in this case, pull up to vdd through a 100 k ? resistor. in addition, data pin (unused in packet mode) should be pulled-up to vdd through a 100 k ? resistor. p lease refer to table 13 for the SX1212?s pin configuration.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 56 of 77 www.semtech.com 5.5.9. packet mode example ? configure all data processing related registers listed below appropriately. in this example we assume crc is enabled with autoclear on. table 25: relevant configuration registers in packet mode (data processing related only) tx rx description data_mode_x x x defines data operation mode ( ? packet) fifo_size x x defines fifo size mcparam fifo_thresh x x defines fifo threshold rx_stby_irq_0 x defines irq_0 source in rx & stby modes rx_stby_irq_1 x defines irq_1 source in rx & stby modes tx_irq_1 x defines irq_1 source in tx mode irqparam tx_start_irq_0 x defines tx start condition and irq_0 source sync_size x x defines sync word size rxparam sync_tol x defines the error tolerance on sync word detection syncparam sync_value x x defines sync word value manchester_on x x enables manchester encoding/decoding payload_length x (1) x length in fixed format, max rx length in variable format node_adrs x defines node address for rx address filtering pkt_format x x defines packet format (fixed or variable length) preamble_size x defines the size of preamble to be transmitted whitening_on x x enables whitening/de-whitening process crc_on x x enables crc calculation/check adrs_filt x enables and defines address filtering crc_autoclr x enables fifo autoclear if crc failed pktparam fifo_stby_access x x defines fifo access in stby mode (1) fixed format only tx mode : ? program tx start condition and irqs: start tx when fi fo not empty (tx_start_irq_0=1) and irq_1 mapped to tx_done (tx_irq_1=1) ? go to stby mode ? write all payload bytes into fifo (fifo_stby_a ccess=0, stby interrupt s can be used if needed) ? go to tx mode. when tx is ready (automatic ally handled) tx starts (tx_start_irq_0=1). ? wait for tx_done interrupt (+1 bit period) ? go to sleep mode rx mode : ? program rx/stby interrupts: irq_0 mapped to /fifoemp ty (rx_stby_irq_0=10) and irq_1 mapped to crc_ok (rx_stby_irq_1=00) ? go to rx (note that rx is not ready immediately, see section 7.3.1 ? wait for crc_ok interrupt ? go to stby ? read payload bytes from fifo until /f ifoempty goes low. (fifo_stby_access =1) ? go to sleep mode 5.5.10. additional information if the number of bytes filled for transmi ssion is greater than the actual length of the packet to be transmitted and tx_start_irq_0 = 1, then the fifo is cleared after the pa cket has been transmitted. thus the extra bytes in the
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 57 of 77 www.semtech.com fifo are lost. on the other hand if tx_start_irq_0 = 0 t hen the extra bytes are kept into the fifo. this opens up the possibility of transmitting more than one packet by filling the fifo with multiple packet messages. it is not possible to receive multiple packets. once a packet has been rece ived and filled into the fifo all its content needs to be read i.e. the fifo must be empt y for a new packet reception to be initiated. the payload_ready interrupt goes high when the last payl oad byte is available in the fifo and remains high until all its data are read. similar behavior is applic able to adrs_match and crc_ok interrupts. the crc result is available in the crc_status bit as soon as the crc_successful and payload_ready interrupt sources are triggered. in rx mode, crc_status is cl eared when the complete payload has been read from the fifo. if the payload is read in stby mode, then crc_status is cleared when the user goes back to rx mode and a new sync word is detected. the fifo _fill_method and fifo_fill bits don?t have any meani ng in the packet mode and should be set to their default values only.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 58 of 77 www.semtech.com 6. configuration and status registers 6.1. general description table 26 sums-up the control and stat us registers of the SX1212: table 26: registers list name size address description mcparam 13 x 8 0 - 11 main parameters common to transmit and receive modes irqparam 3 x 8 12 - 15 interrupt registers rxparam 6 x 8 16 - 21 receiver parameters syncparam 4 x 8 22 ? 25 pattern txparam 1 x 8 26 transmitter parameters oscparam 1 x 8 27 crystal oscillator parameters pktparam 4 x 8 28 - 30 packet handler parameters 6.2. main configuration register - mcparam the detailed description of the mcparam register is given in table 27 . table 27: mcparam register description name bits address (d) rw description chip_mode 7-5 0 r/w transceiver mode: 000 ? sleep mode - sleep 001 ? stand-by mode - stby (d) 010 ? frequency synthesizer mode - fs 011 ? receive mode - rx 100 ? transmit mode - tx freq_band 4-2 0 r/w frequency band: 000 ? 300-330 mhz 001 ? 320-350 mhz 010 ? 350-390 mhz 011 ? 390-430 mhz 100 ? 430-470 mhz (d) 101 ? 470-510 mhz subbband 1-0 0 r/w frequency sub-band: 00 -> 1st quarter of the selected band (d) 01 -> 2nd quarter of the selected band 10 -> 3rd quarter of the selected band 11 -> 4th quarter of the selected band data_mode 7-6 1 r/w data operation mode: 00 -> continuous mode (d) 01 -> buffered mode 1x -> packet handling mode fsk_ook_ctrl 5-4 1 r/w rxtx modulation scheme: 00 -> reset 01 -> ook 10 -> fsk (d) 11 -> direct mode of transmitter (internal). reserved (external)
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 59 of 77 www.semtech.com ook_thresh_type 3-2 1 r/w ook demodulator threshold type: 00 ? fixed threshold mode 01 ? peak mode (d) 10 ? average mode 11 ? reserved if_gain 1-0 1 r/w gain on the if chain: 00 ? maximal gain (0db) (d) 01 ? -4.5 db 10 ? -9db 11 ? -13.5 db freq_dev 7-0 2 r/w single side frequency deviation in fsk transmit mode: refer to sections 3.3.4 and 3.3.5 fdev = 1) (d +? 32 xtal f , 0 ? d ? 255, where d is the value in the register. (d): d = ?00000011? => fdev = 100 khz br_c 7-0 3 r/w c coefficient of the bit rate bit rate = 1)1).(d (c2 ++? xtal f , 0 ? c ? 255, where c is the value in the register. (d): c = ?0000111? => bit rate = 25 kb/s nrz br_d 7-0 4 r/w d coefficient of the bit rate bit rate = 1)1).(d (c2 ++? xtal f , 15 ? d ? 255, where d is the value in the register. (d): d = ?0001111? => bit rate = 25 kb/s nrz pa_ramp 7-6 5 r/w ramp control of the rise and fall times of the tx pa regulator output voltage in ook mode: 00 ? 3us 01 ? 8.5 us 10 ? 15 us 11 ? 23 us (d) low_power_rx 5 5 r/w enables the low power mode of the receiver by reducing the bias current of the lna. 0 -> low power mode disabled (d) 1 -> low power mode enabled vco trimming: (d) 11 trim_band 2-1 5 r/w rf_frequency 0 5 r/w selection between the two rf frequencies defined by the synthri, synthpi, and synthsi registers: 0 -> frequency 1 for r1,p1,s1 (d) 1 -> frequency 2 for r2,p2,s2 r1 7-0 6 r/w r counter, active when rps_select=?0? (d):6bh; default values of r1, p1, s1 generate 434.0 mhz in fsk mode p1 7-0 7 r/w p counter, active when rps_select=?0? (d): 2ah; default values of r1, p1, s1 generate 434.0 mhz in fsk mode s1 7-0 8 r/w s counter, active when rps_select=?0? (d): 1eh; default values of r1, p1, s1 generate 434.0 mhz in fsk mode r2 7-0 9 r/w r counter, active when rps_select=?1? (d): 77h; default values of r2, p2, s2 generate 435.0 mhz in fsk mode p2 7-0 10 r/w p counter, active when rps_select=?1? (d): 2fh; default values of r2, p2, s2 generate 435.0 mhz in fsk mode s2 7-0 11 r/w s counter, active when rps_select=?1? (d): 19h; default values of r2, p2, s2 generate 435.0 mhz in fsk mode res 2-0 12 r/w reserved (d):?000?
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 60 of 77 www.semtech.com 6.3. interrupt configuration parameters - irqparam the detailed description of the irqparam register is given in table 28 . table 28: irqparam register description name bits address (d) rw description fifo_size 7-6 12 r/w configures the size of the fifo: 00 -> 16 bytes (d) 01 -> 32 bytes 10 -> 48 bytes 11 -> 64 bytes fifo_thresh 5-0 12 r/w number of bytes to be written in the fifo to activate the fifo_threshold interrupts actual number of bytes = b + 1, wher e b is the value in the register. (d): b = 001111 => number of bytes = 16 rx_stby_irq_0 7-6 13 r/w irq_0 source in rx and standby modes: if data_mode(1:0) = 00 (continuous mode): 00 ? sync (d) 01 ? rssi 10 ? sync 11 ? sync if data_mode(1:0) = 01 (buffered mode): 00 ? - (d) 01 ? write_byte 10 ? /fifoempty* 11 ? sync if data_mode(1:0) = 1x (packet mode): 00 ? payload_ready (d) 01 ? write_byte 10 ? /fifoempty* 11 ? sync or adrs_match (the latter if address filtering is enabled) *also available in standby mode (cf sections 5.4.4 and 5.5.7 ) rx_stby_irq_1 5-4 13 r/w irq_1 source in rx and standby modes: if data_mode(1:0) = 00 (continuous mode): xx ? dclk if data_mode(1:0) = 01 (buffered mode): 00 ? - (d) 01 ? fifofull* 10 ? rssi 11 ? fifo_threshold* if data_mode(1:0) = 1x (packet mode): 00 ? crc_ok (d) 01 ? fifofull* 10 ? rssi 11 ? fifo_threshold* *also available in standby mode (cf sections 5.4.4 and 5.5.7 ) tx_start_irq_0 3 13 r/w tx start condition and irq_0 source: 0 ? start transmission when the number of bytes in fifo is greater than or equal to the threshold set by mcparam_fifo_thresh parameter (cf section 5.2.2.3 ), irq_0 mapped to fifo_threshold (d) 1 ? tx starts if fifo is not empty, irq_0 mapped to /fifoempty
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 61 of 77 www.semtech.com tx_irq_1 2 13 r/w irq_1 source in tx mode: if data_mode(1:0) = 00 (continuous mode): x ? dclk if data_mode(1:0) = 01 (buffered mode) or 1x (packet mode): 0 ? fifofull (d) 1 ? tx_done fifofull 1 13 r fifofull irq source goes high when fifo is full. /fifoempty 0 13 r /fifoempty irq source goes low when fifo is empty fifo_fill_method 7 14 r/w fifo filling method (buffered mode only): 0 ? automatically starts when a sync word is detected (d) 1 ? manually controlled by fifo_fill fifo_fill 6 14 r/w/ c fifo filling status/contro l (buffered mode only): ? if fifo_fill_method = ?0?: (d) goes high when fifo is being filled (sync word has been detected) w riting ?1? clears the bit and waits for a new sync word (if fifo_overrun_clr=0) ? if fifo_fill_method = ?1?: 0 ? stop filling the fifo 1 ? start filling the fifo tx_done 5 14 r tx_done irq source goes high when the last bit has left the shift register. fifo_overrun_clr 4 13 r/w/ c goes high when an overrun error occurred. writing a 1 anytime clears flag (if set) and launches a new rx or tx process res 3 14 r/w (d): ?0?, should be set to ?1?. note: ?0? disables the rssi irq source. it can be left enabled at any time, and the user can choose to map this interrupt to irq0/irq1 or not. rssi_irq 2 14 r/w/ c rssi irq source: goes high when a signal above rssi_irq_thresh is detected writing ?1? clears the bit pll_locked 1 14 r/w/ c pll status: 0 ? not locked 1 ? locked writing a ?1? clears the bit pll_lock_en 0 14 r/w pll_lock detect flag mapped to pin 23: 0 ? lock detect disabled, pin 23 is hi 1 ? lock detect enabled(d) rssi_irq_thresh 7-0 15 rssi threshold for interrupt (coded as rssi) (d): ?00000000?
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 62 of 77 www.semtech.com 6.4. receiver configuration parameters - rxparam the detailed description of the rxparam register is given in table 29 . table 29: rxparam register description name bits address (d) rw description passivefilt 7-4 16 r/w typical single sideband bandwidth of the passive low-pass filter. passivefilt = 0000 ? 65 khz 0001 ? 82 khz 0010 ? 109 khz 0011 ? 137 khz 0100 ? 157 khz 0101 ? 184 khz 0110 ? 211 khz 0111 ? 234 khz 1000 ? 262 khz 1001 ? 321 khz 1010 ? 378 khz (d) 1011 ? 414 khz 1100 ? 458 khz 1101 ? 514 khz 1110 ? 676 khz 1111 ? 987 khz butterfilt 3-0 16 r/w sets the receiver bandwidth. for bw information pl ease refer to sections 3.4.5 (fsk) and 3.4.6 (ook). 8 (1 . 8.12 .200 0 butterfilt val mhz mhzf khzff xtal c ) + += (d): ?0011? => f c = 200 khz polypfilt_center 7-4 17 r/w central frequency of the polyphase filter (100khz recommended): 8 )_(1 . 8.12 .200 0 center polypfilt val m hz mhzf khzf xtal + = (d):?0011? => f 0 = 100 khz res 3-0 17 r/w reserved (d): ?1000? polypfilt_on 7 18 r/w enable of the polyphase filter, in ook rx mode: 0 ? off (d) 1 ? on bitsync_off 6 18 r/w bit synchronizer: control in continuous rx mode: 0 ? on (d) 1 ? off sync_on 5 18 r/w sync word recognition: 0 ? off (d) 1 ? on sync_size 4-3 18 r/w sync word size: 00 ? 8 bits 01 ? 16 bits 10 ? 24 bits 11 ? 32 bits (d) sync_tol 2-1 18 r/w number of errors tolerated in the sync word recognition: 00 ? 0 error (d) 01 ? 1 error 10 ? 2 errors 11 ? 3 errors res 0 18 r/w reserved (d):?0?
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 63 of 77 www.semtech.com name bits address (d) rw description ook_thresh 7-0 19 r/w ook fixed threshold or min threshold in peak mode. by default at 6db. (d): ?00000100? assuming 0.5db rssi step. rssi_val 7-0 20 r rssi output, 0.5 db / bit note: read-only (not to be written) ook_thresh_step 7-5 21 r/w size of each decrement of the rssi threshold in the ook demodulator 000 ? 0.5 db (d) 100 ? 3.0 db 001 ? 1.0 db 101 ? 4.0 db 010 ? 1.5 db 110 ? 5.0 db 011 ? 2.0 db 111 ? 6.0 db ook_thresh_dec _period 4-2 21 r/w period of decrement of the rssi threshold in the ook demodulator: 000 ? once in each chip period (d) 001 ? once in 2 chip periods 010 ? once in 4 chip periods 011 ? once in 8 chip periods 100 ? twice in each chip period 101 ? 4 times in each chip period 110 ? 8 times in each chip period 111 ? 16 times in each chip period ook_avg_thresh _cutoff 1-0 21 r/w cutoff frequency of the averaging for the average mode of the ook threshold in demodulator 00 ? f c br / 8. (d) 01 ? reserved 10 ? reserved 11 ? f c br / 32. 6.5. sync word parameters - syncparam the detailed description of the sy ncparam register is given in table 30 . table 30: syncparam register description name bits address (d) rw description sync_value(31:24) 7-0 22 r/w 1 st byte of sync word (d): ?00000000? sync_value(23:16) 7-0 23 2 nd byte of sync word (only used if sync_size 00) (d): ?00000000? sync_value(15:8) 7-0 24 3 rd byte of sync word (only used if sync_size = 1x) (d): ?00000000? sync_value(7:0) 7-0 25 4 th byte of sync word (only used if sync_size = 11) (d): ?00000000?
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 64 of 77 www.semtech.com 6.6. transmitter parameters - txparam the detailed description of the txparam register is given in table 31 . table 31: txparam register description name bits address (d) rw description interpfilt 7-4 26 r/w tx interpolation filter cut off frequency: 8 ) (1 . 8.12 .200 txinterpfilt val mhz mhzf khzfc xtal + = (d): ?0111? => f c = 200 khz pout 3-1 26 r/w tx output power (1 step 3 db): 000 ? 12.5 dbm 001 ? 12.5 dbm -1 step (d) 010 ? 12.5 dbm ? 2 steps 011 ? 12.5 dbm ? 3 steps 100 ? 12.5 dbm ? 4 steps 101 ? 12.5 dbm ? 5 steps 110 ? 12.5 dbm ? 6 steps 111 ? 12.5 dbm ? 7 steps tx_zero_if 0 26 r/w set the transmitter in zero-if architecture in tx mode 0 -> normal operation (d) 1-> zero-if operation (first if is set to zero and frequency deviation is not used) 6.7. oscillator parameters - oscparam the detailed description of the os cparam register is given in table 32 . table 32: oscparam r egister description name bits address (d) rw description clkout_on 7 27 r/w clkout control 0 ? disabled 1 ? enabled, clk frequency set by clkout_freq (d) clkout_freq 6-2 27 r/w frequency of the signal provided on clkout: xtal ffclkout = if clkout_freq = ?00000? freq clkout f fclkout xtal _2 ? = otherwise (d): 01111 (= 427 khz) res 1-0 27 r/w reserved (d): ?00?
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 65 of 77 www.semtech.com 6.8. packet handling parameters ? pktparam the detailed description of the pktparam register is given in table 33 . table 33: pktparam register description name bits address (d) rw description manchester_on 7 28 r/w enable manchester encoding/decoding: 0 ? off (d) 1 ? on payload_length 6-0 28 r/w if pkt_format=0, payload length. if pkt_format=1, max length in rx, not used in tx. (d): ?0000000? node_adrs 7-0 29 r/w node?s local address for filtering of received packets. (d): 00h pkt_format 7 30 r/w packet format: 0 ? fixed length (d) 1 ? variable length preamble_size 6-5 30 r/w size of t he preamble to be transmitted: 00 ? 1 byte 01 ? 2 bytes 10 ? 3 bytes (d) 11 ? 4 bytes whitening_on 4 30 r/w whiteni ng/dewhitening process: 0 ? off (d) 1 ? on crc_on 3 30 r/w crc calculation/check: 0 ? off 1 ? on (d) adrs_filt 2-1 30 r/w address f iltering of received packets: 00 ? off (d) 01 ? node_adrs accepted, else rejected. 10 ? node_adrs & 0x00 accepted, else rejected. 11 ? node_adrs & 0x00 & 0xff accepted, else rejected. crc_status 0 30 r crc check result for current packet (read only): 0 ? fail 1 ? pass crc_autoclr 7 31 r/w fifo auto clear if crc failed for current packet: 0 ? on (d) 1 ? off fifo_stby_access 6 31 r/w fifo access in standby mode: 0 ? write (d) 1 ? read res 5-0 31 r/w reserved (d): ?000000?
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 66 of 77 www.semtech.com 7. application information 7.1. crystal resonator specification table 34 shows the crystal resonator specific ation for the crystal reference osc illator circuit of the SX1212. this specification covers the full range of operation of the SX1212 and is employed in the reference design (see section 7.5.3 ). table 34: crystal resonator specification name description min. typ. max. unit fxtal nominal frequency 9 12.800 15 mhz cload load capacitance for fxtal 13.5 15 16.5 pf rm motional resistance - - 100 ohms co shunt capacitance 1 - 7 pf fxtal calibration tolerance at 25+/-3c -15 - +15 ppm fxtal( t) stability over temperature range [-40c ; +85c] -20 - +20 ppm fxtal( t) ageing tolerance in first 5 years -2 - +2 ppm/year note that the initial frequency tolerance, temperat ure stability and ageing performance should be chosen in accordance with the target operating temperat ure range and the receiver bandwidth selected. 7.2. software for frequency calculation the r 1, p1, s1, and r2, p2, s2 dividers are configured ov er the spi interface and programmed by 8 bits each, at addresses 6 to 11. the frequency pairs may hence be switched in a single spi cycle. 7.2.1. gui to aid the user with calculating appropriate r, p and s values, software is available to perform the frequency calculation. the SX1212 pll frequency calculator so ftware can be downloaded from the semtech website. 7.2.2. .dll for automatic production bench the dyn amically linked library (dll) used by the software to perform these calculations is also provided, free of charge, to users, for inclusion in automatic production testing. key benefits of this are: ? no hand trimming of the reference frequency required: the actual reference frequency of the device under test (dut) can be easily measured (e.g. from the clkout output of the SX1212) and the tool will calculate the best frequencies to compensate for the crystal initial error. ? channel plans can be calculated and stored in the app lication?s memory, then adapted to the actual crystal oscillator frequency. 7.3. switching times and procedures as an ultra-low power device, the SX1212 can be config ured for low minimum average power consumption. to minimize consumption the following optimiz ed transitions between modes are shown.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 67 of 77 www.semtech.com 7.3.1. optimized receive cycle the lowest-power rx cycle is the following: SX1212 idd time set SX1212 in standby mode wait for xo settling set SX1212 in fs mode wait for pll settling set SX1212 in rx mode wait for receiver settling iddr 3.0ma typ. iddfs 1.3ma typ. iddst 65ua typ. iddsl 100na typ. wait ts os wait ts fs wait ts re receiver is ready : -rssi sampling is valid after a 1/fdev period -received data is valid SX1212 can be put in any other mode rx time figure 49: optimized rx cycle note: i f the lock detect indicator is available on an external interrupt pin of the companion uc, it can be used to optimize ts_fs, without having to wa it the maximum specified ts_fs.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 68 of 77 www.semtech.com 7.3.2. optimized transmit cycle SX1212 idd time set SX1212 in standby mode wait for xo settling set SX1212 in fs mode wait for pll settling set SX1212 in tx mode packet mode starts its operation iddt 16ma typ. @1dbm iddfs 1.3ma typ. iddst 65ua typ. iddsl 100na typ. wait ts os wait ts fs wait ts tr data transmission can start in continuous and buffered modes SX1212 can be put in any other mode tx time figure 50: optimized tx cycle note: a s stated in the preceding section, ts_fs time can be improved by using the external lock detector pin as external interrupt trigger.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 69 of 77 www.semtech.com 7.3.3. transmitter freque ncy hop optimized cycle SX1212 idd time SX1212 is in tx mode on channel 1 (r1/p1/s1) SX1212 is now ready for data transmission iddt 16ma typ. @1dbm iddfs 1.3ma typ. wait ts hop wait ts tr set SX1212 back in tx mode 1. set r2/p2/s2 2. set SX1212 in fs mode, change mcparam_band if needed, then switch from r1/p1/s1 to r2/p2/s2 figure 51: tx hop cycle
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 70 of 77 www.semtech.com 7.3.4. receiver frequenc y hop optimized cycle SX1212 idd time SX1212 is in rx mode SX1212 is now ready for data reception iddr 3ma typ iddfs 1.3ma typ. on channel 1 (r1/p1/s1) wait ts hop wait ts re set SX1212 back in rx mode 1. set r2/p2/s2 2. set SX1212 in fs mode, change mcparam_band if needed, then switch from r1/p1/s1 to r2/p2/s2 figure 52: rx hop cycle note: i t is also possible to move from one channel to the other one without having to switch off the receiver. this method is faster, and overall draws more current. for timing information, please refer to ts_re_hop on table 8 .
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 71 of 77 www.semtech.com 7.3.5. rx ? tx and tx ? rx jump cycles SX1212 idd time SX1212 is in set SX1212 in tx mode SX1212 is now ready for data transmission iddr 3.0ma typ. rx mode wait ts tr iddt 16ma typ. @1dbm set SX1212 in rx mode wait ts re SX1212 is ready to receive data figure 53: rx ? tx ? rx cycle
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 72 of 77 www.semtech.com 7.4. reset of the chip a pow er-on reset of the SX1212 is triggered at power up. a dditionally, a manual reset can be issued by controlling pin 13. 7.4.1. por if the application requires the disconnection of vdd from the SX1212, despite of the extremely low sleep mode current, the user should wait for 10 ms from of the end of the por cycle before comm encing communications over the spi bus. pin 13 (test8) should be left floating during the por sequence. wait for 10 ms vdd pin 13 (output) chip is ready from this point on undefined figure 54: por timing diagram please note that any clkout activity can also be used to detect that the chip is ready. 7.4.2. manual reset a manual reset of the SX1212 is possible even for applicat ions in which vdd cannot be physically disconnected. pin 13 should be pulled high for a hundred microseconds, and then released. the user should then wait for 5 ms before using the chip. vdd > 100 us chip is ready from this point on wait for 5 ms pin 13 high-z ??1?? high-z ( in p ut ) figure 55: manual reset timing diagram please note that while pin 13 is driven high, an over curr ent consumption of up to ten milliamps can be seen on vdd.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 73 of 77 www.semtech.com 7.5. reference design it is recommended that this reference design (i.e. schematic s, placement, layout, bom,) is replicated in the final application board to guarantee optimum performance. 7.5.1. application schematic figure 56: reference design circuit schematic the ref erence design area is represented by the dashed re ctangle. c12 is a dc blocking capacitor which protects the saw filter. it has been added for debug purposes could be removed for a direct antenna connection if there is no dc bias is expected at the antenna port. please note that c10 and c11 are not used. 7.5.2. pcb layout as illu strated in figures below, the layout has the following characteristics: ? very compact (9x19mm) => can be easily inserted even on very small pcbs ? standard pcb technology (2 layers, 1.6mm, std via & clearance) => low cost ? its performance is quasi-insensitive to dielectric thick ness => minimal design effort to transfer to other pcb technologies (thickness, # of layers, etc...)
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 74 of 77 www.semtech.com the layers description is illustrated in figure 57 : signal (35um) isolation (fr4, 1.6mm) ground plane figure 57: reference design?s stackup the layout itself is illustrated in figure 58 . please contact semtech for gerber files. 19mm 9mm f igure 58: reference design layout (top view) 7.5.3. bill of material table 35: reference design bom value ref 330mhz 434mhz tol (+/-) techno size comment u1 SX1212 - transceiver ic tqfn-32 - u2 330 mhz 434 mhz - saw filter 3.8*3.8 mm plotted in section 7.5.4 q1 12.8 mhz 15 ppm at 25c 20 ppm over -40/+85c 2ppm/year max at-cut 5.0*3.2 mm fundamental, cload=15 pf r1 1% - 0402 pa regulator r2 1% - 0402 loop filter c1 15% x5r 0402 vdd decoupling c2 15% x5r 0402 top regulator decoupling c3 10% x7r 0402 digital regulator decoupling c4 10% x7r 0402 pa regulator decoupling c5 10% x7r 0402 vco regulator decoupling c6 10% x7r 0402 loop filter c7 5% npo 0402 loop filter c8 0.25 pf npo 0402 matching c9 5% npo 0402 dc block and l4 adjust l1, l2 0.2 nh wire wound 0402 vco tank inductors l3 5% wire wound 0402 pa choke l4 5% multilayer 0402 matching c10, c11 - - 0402 - c12* 5% npo 0402 dc block *not part of the ref. design (not required for direct antenna connection). note: for battery powered applications, a high value capa citance should be implemented in parallel with c1 (typically 10 f) to offer a low impedance voltage source during startup sequences.
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 75 of 77 www.semtech.com 8. packaging information 8.1. package outline drawing SX1212 is available in a 32-lead tqfn package as shown in figure 59 below. .193 .193 .142 .142 .012 .007 e1 aaa bbb n e l a2 d1 d e b .020 bsc .146 .016 .003 .004 32 .197 (.008) .146 .197 .010 - 3.60 .150 .020 0.30 .201 .201 .150 - .012 4.90 4.90 3.60 - 0.18 .028 min dim a max dimensions inches - nom .031 0.70 min - 0.05 5.10 5.10 3.80 3.80 0.50 0.30 3.70 0.40 0.10 0.08 32 5.00 (0.20) 3.70 5.00 0.25 - 0.80 max - nom b aaa c c seating plane 1 2 n bbb c a b coplanarity applies to the exposed pad as well as the terminals. controlling dimensions are in millimeters (angles in degrees). 2. 1. notes: a pin 1 indicator (laser mark) e d millimeters 0.50 bsc .002 - 0.00 .000 a1 a1 a2 lxn e/2 bxn d/2 a d1 e1 e e/2 figure 59: package outline drawing 8.2. pcb land pattern 3. 1. controlling dimensions are in millimeters (angles in degrees). this land pattern is for reference purposes only. consult your manufacturing group to ensure your 2. notes: dim x y h k p c g millimeters inches (5.00) .012 .031 .165 .020 .146 .146 (.197) 0.30 0.80 3.70 0.50 3.70 4.20 dimensions 5.80 .228 z company's manufacturing guidelines are met. k h (c) g z y p x square package - dimensions apply in both " x " and " y " directions. functional performance of the device. failure to do so may compromise the thermal and/or shall be connected to a system ground plane. thermal vias in the land pattern of the exposed pad 4. figure 60: pcb land pattern
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 76 of 77 www.semtech.com 8.3. tape & reel specification direction of feed carrier tape reel tape width(w) pocket pitch (p) ao/bo ko reel size reel width min. min.trail qty per leader er length reel length 12 +/-0.3 8 +/-0.1 5.25 +/-0.2 1.10 +/-0.1 330.2 12.4 400 400 3000 notes: *all dimensions in mm *sin g le s p rocket holes figu re 61: tape & reel dimensions
SX1212 advanced communications & sensing rev 2 ? june 18th, 2009 page 77 of 77 www.semtech.com 9. revision 1: preliminary ? creation. revision 2: final revision. 10. contact information ? semtech 2009 all rights reserved. reproduction in whole or in part is prohib ited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent or other industrial or intellectual property rights. semtech. assumes no responsibility or liability whatsoever fo r any failure or unexpected oper ation resulting from misuse, neglect improper installation, repair or improper handling or unus ual physical or electrical st ress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outsi de the specified range. semtech products are not designed, intended, au thorized or warranted to be suitable for use in life-support applications, devices or systems or other critical applications. inclusion of semtech products in such applications is understood to be undertaken solely at the customer?s own risk. should a customer purchase or use semtech products for any such unauthorized application, the customer shall indemnify and hold semtech and its officers, employees, subsidiaries, affiliates, and distributors harmless a revision history g ainst all claims, costs dama g es and attorne y fees which could arise. semtech corporation advanced communication and sensing products division 200 flynn road, camarillo, ca 93012 phone (805) 498-2111 fax: (805) 498-3804


▲Up To Search▲   

 
Price & Availability of SX1212

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X